diff options
author | Sebastian <sebasjm@gmail.com> | 2024-06-03 13:11:07 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2024-06-03 13:11:07 -0300 |
commit | aac3878f5915d4742d253ad13b076a20f011e403 (patch) | |
tree | 54938dc4300eab5146fef17e7ca82fa7e59f5f75 /packages/web-util/src/components | |
parent | 228324bb4411515675930e68eece2045dcafe12a (diff) | |
download | wallet-core-aac3878f5915d4742d253ad13b076a20f011e403.tar.xz |
check account info match
Diffstat (limited to 'packages/web-util/src/components')
-rw-r--r-- | packages/web-util/src/components/CopyButton.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/web-util/src/components/CopyButton.tsx b/packages/web-util/src/components/CopyButton.tsx index 3ca3e4078..4351da018 100644 --- a/packages/web-util/src/components/CopyButton.tsx +++ b/packages/web-util/src/components/CopyButton.tsx @@ -21,7 +21,7 @@ export function CopyButton({ class: clazz, children, getContent }: { children?: const [copied, setCopied] = useState(false); function copyText(): void { if (!navigator.clipboard && !window.isSecureContext) { - alert(`clipboard is not available on insecure context (http), the content is:\n${getContent()}`) + prompt("Clipboard is not available on insecure context (http).", getContent()); } if (navigator.clipboard) { navigator.clipboard.writeText(getContent() || ""); |