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 b7ca131 commit 11f45eeCopy full SHA for 11f45ee
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