mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Update Linking.js
Reviewed By: svcscm Differential Revision: D2933128 fb-gh-sync-id: ef33f88db50d6ddb7dd208b7ba5dab41c1ee2f81 shipit-source-id: ef33f88db50d6ddb7dd208b7ba5dab41c1ee2f81
This commit is contained in:
1 parent
6c7991c3f2
commit
e6a39a1d18
1 file changed
+1
-1
@@ -38,7 +38,7 @@ const DEVICE_NOTIF_EVENT = 'openURL';
|
||||
*
|
||||
* ```
|
||||
* componentDidMount() {
|
||||
* var url = Linking.getInitialURL().then(url) => {
|
||||
* var url = Linking.getInitialURL().then((url) => {
|
||||
* if (url) {
|
||||
* console.log('Initial url is: ' + url);
|
||||
* }
|
||||
|
||||
Reference in new issue
Block a user