From 22bef46336b3b202ac777f434bc40bc53f7ea434 Mon Sep 17 00:00:00 2001 From: lukaw3d Date: Sat, 4 May 2024 03:41:03 +0200 Subject: [PATCH] Chrome workaround to prevent copying two newlines after a mnemonic --- .changelog/1918.trivial.md | 1 + .../__tests__/__snapshots__/index.test.tsx.snap | 3 +++ src/app/pages/CreateWalletPage/index.tsx | 2 ++ 3 files changed, 6 insertions(+) create mode 100644 .changelog/1918.trivial.md diff --git a/.changelog/1918.trivial.md b/.changelog/1918.trivial.md new file mode 100644 index 0000000000..dfa6a39cba --- /dev/null +++ b/.changelog/1918.trivial.md @@ -0,0 +1 @@ +Chrome workaround to prevent copying two newlines after a mnemonic diff --git a/src/app/pages/CreateWalletPage/__tests__/__snapshots__/index.test.tsx.snap b/src/app/pages/CreateWalletPage/__tests__/__snapshots__/index.test.tsx.snap index b6bec6d320..75691edca3 100644 --- a/src/app/pages/CreateWalletPage/__tests__/__snapshots__/index.test.tsx.snap +++ b/src/app/pages/CreateWalletPage/__tests__/__snapshots__/index.test.tsx.snap @@ -1424,6 +1424,9 @@ exports[` should match snapshot 1`] = ` > test test test test test test test test test test test test test test test test test test test test test test test test +
{mnemonic.join(' ')} + {/* Chrome workaround: Prevent copying extra newlines after user triple clicks mnemonic to copy */} +