Commit 55413e4
Update custom-navigators.md : Add missing variable (react-navigation#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 b06ed32 commit 55413e4
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