Commit 3272d8b
committed
Rename "navOpen" to "navExpanded"
There seems to be a non-working mix navOpen and navExpanded which means
getInitialState() sets navExpanded in the state, but isNavOpen refers to
the uninitialised navOpen. I have made it all use navExpanded, which
appears to be the intention, and also added some sensible defaults to
make it easier to get right.1 parent b26f1c1 commit 3272d8b
1 file changed
Lines changed: 4 additions & 4 deletions
File tree
- src
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | | - | |
| 59 | + | |
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
64 | | - | |
| 63 | + | |
| 64 | + | |
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
| |||
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
90 | | - | |
| 90 | + | |
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
| |||
0 commit comments