Skip to content

Commit 02931b0

Browse files
committed
Merge branch 'hotfix/2.1.3'
2 parents d76d4c2 + a7b4273 commit 02931b0

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

packages/containers/SecureMessage/SecureMessage.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,13 @@ const SecureMessageContainerComponent = ({
3939

4040
return raws;
4141
};
42-
42+
4343
const getFormTitle = () => {
4444
if (!!passwordFromLink && !decryptedMessage) {
4545
return (
46-
<AdaptiveTitle>Your secret is here. Click the button below to see the message</AdaptiveTitle>
46+
<AdaptiveTitle>
47+
Your secret is here. Click the button below to see the message
48+
</AdaptiveTitle>
4749
);
4850
}
4951

@@ -55,7 +57,7 @@ const SecureMessageContainerComponent = ({
5557
};
5658

5759
const handleClickCopyText = () => {
58-
copy(decryptedMessage.text);
60+
copy(decodeURIComponent(decryptedMessage.text));
5961

6062
notification.show({
6163
text: `The text has been copied`,

0 commit comments

Comments
 (0)