Skip to content

Commit 37440bc

Browse files
fix: 🐛 on navigator share error open normal dialog (#24)
1 parent b9a318f commit 37440bc

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Tiny [Web Share API](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/share) wrapper with fallback for unsupported browsers
44

5-
[![GitHub Actions Status](https://github.com/harshzalavadiya/react-web-share/workflows/NodeJS/badge.svg)](https://github.com/harshzalavadiya/react-web-share/actions)
5+
[![GitHub Actions Status](https://github.com/hc-oss/react-web-share/workflows/NodeJS/badge.svg)](https://github.com/hc-oss/react-web-share/actions)
66
[![NPM](https://img.shields.io/npm/v/react-web-share.svg)](https://npm.im/react-web-share)
77
[![gzip](https://badgen.net/bundlephobia/minzip/react-web-share@latest)](https://bundlephobia.com/result?p=react-web-share@latest)
88

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"author": "Harsh Zalavadiya",
44
"version": "1.1.3",
55
"license": "MIT",
6-
"repository": "harshzalavadiya/react-web-share",
6+
"repository": "hc-oss/react-web-share",
77
"module": "dist/react-web-share.esm.js",
88
"main": "dist/index.js",
99
"typings": "dist/index.d.ts",

src/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ export const RWebShare = ({
3535
onClick();
3636
} catch (e) {
3737
console.warn(e);
38+
onOpen();
3839
}
3940
} else {
4041
onOpen();

0 commit comments

Comments
 (0)