Skip to content

Commit 48c0f75

Browse files
authored
Example consistency
Updated an example to match how the rest of the documentation uses that and similar functions. I (an infrequent JS user) was confused by the original code.
1 parent 99d242d commit 48c0f75

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

versioned_docs/version-6.x/configuring-links.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -660,7 +660,7 @@ const linking = {
660660
Chat: 'feed/:sort',
661661
},
662662
},
663-
getStateFromPath: (path, options) => {
663+
getStateFromPath(path, options) {
664664
// Return a state object here
665665
// You can also reuse the default logic by importing `getStateFromPath` from `@react-navigation/native`
666666
},

0 commit comments

Comments
 (0)