Skip to content

Commit 0b3d5ef

Browse files
🐛 Clipboard encoded URL (#7)
1 parent e6d2a74 commit 0b3d5ef

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "react-web-share",
33
"author": "Harsh Zalavadiya",
4-
"version": "1.0.12",
4+
"version": "1.0.13",
55
"license": "MIT",
66
"repository": "harshzalavadiya/react-web-share",
77
"module": "dist/react-web-share.esm.js",

src/components/icon/list.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ const iconList: IconListType = {
6767
<path d="M16 1H4a2 2 0 00-2 2v14h2V3h12V1zm3 4H8a2 2 0 00-2 2v14c0 1.1.9 2 2 2h11a2 2 0 002-2V7a2 2 0 00-2-2zm0 16H8V7h11v14z" />
6868
),
6969
color: "#718096",
70-
e: l => navigator.clipboard.writeText(l),
70+
e: l => navigator.clipboard.writeText(decodeURIComponent(l)),
7171
},
7272
};
7373

0 commit comments

Comments
 (0)