Skip to content

Commit 7e38e01

Browse files
Fixes missleading comment on getInitialURL
The returned value is a promise, not a url.
1 parent b203343 commit 7e38e01

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Libraries/Linking/Linking.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ const LinkingManager = Platform.OS === 'android' ?
3333
*
3434
* ```
3535
* componentDidMount() {
36-
* var url = Linking.getInitialURL().then((url) => {
36+
* Linking.getInitialURL().then((url) => {
3737
* if (url) {
3838
* console.log('Initial url is: ' + url);
3939
* }

0 commit comments

Comments
 (0)