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 e0f1141 commit 4cfa622Copy full SHA for 4cfa622
src/lib/util/openUrl.js
@@ -1,5 +1,7 @@
1
import { Linking } from 'react-native';
2
3
-export default function openUrl(url){
4
- Linking.openURL(url);
5
-};
+export default function openUrl(url) {
+ if (url) {
+ Linking.openURL(url);
6
+ }
7
+}
0 commit comments