Commit 549835a
authored
Update custom-navigators.md : Add missing variable (#1412)
In the TabNavigator example , isFocused Variable is using "index" variable to validate the condiation. However, in state.routes.map((route)...) the index variable is not defined which cause an error of no existing variable.1 parent 779730c commit 549835a
1 file changed
Lines changed: 1 addition & 1 deletion
File tree
- versioned_docs/version-7.x
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
84 | | - | |
| 84 | + | |
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
| |||
0 commit comments