mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-02-10 22:45:24 +08:00
Update Linking.js
Reviewed By: svcscm Differential Revision: D2933128 fb-gh-sync-id: ef33f88db50d6ddb7dd208b7ba5dab41c1ee2f81 shipit-source-id: ef33f88db50d6ddb7dd208b7ba5dab41c1ee2f81
This commit is contained in:
committed by
facebook-github-bot-5
parent
6c7991c3f2
commit
e6a39a1d18
@@ -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