We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e2fb0f8 commit b9a318fCopy full SHA for b9a318f
package.json
@@ -1,7 +1,7 @@
1
{
2
"name": "react-web-share",
3
"author": "Harsh Zalavadiya",
4
- "version": "1.1.2",
+ "version": "1.1.3",
5
"license": "MIT",
6
"repository": "harshzalavadiya/react-web-share",
7
"module": "dist/react-web-share.esm.js",
src/index.tsx
@@ -29,7 +29,7 @@ export const RWebShare = ({
29
);
30
31
const handleOnClick = async () => {
32
- if (!window.navigator.share) {
+ if (window.navigator.share) {
33
try {
34
await window.navigator.share(shareData);
35
onClick();
0 commit comments