Skip to content

Commit b9a318f

Browse files
chore: 🔖 v1.1.3
1 parent e2fb0f8 commit b9a318f

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.1.2",
4+
"version": "1.1.3",
55
"license": "MIT",
66
"repository": "harshzalavadiya/react-web-share",
77
"module": "dist/react-web-share.esm.js",

src/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export const RWebShare = ({
2929
);
3030

3131
const handleOnClick = async () => {
32-
if (!window.navigator.share) {
32+
if (window.navigator.share) {
3333
try {
3434
await window.navigator.share(shareData);
3535
onClick();

0 commit comments

Comments
 (0)