Commit ce7fae9
committed
refactor: simplify menu toggle logic in TheHeader component
- Replaced useToggle with a standard ref for managing menu state, improving clarity and reducing complexity.
- Removed unused modal store reference to streamline the component's functionality.1 parent 09e7dfc commit ce7fae9
1 file changed
Lines changed: 0 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | 7 | | |
9 | 8 | | |
10 | 9 | | |
11 | 10 | | |
12 | 11 | | |
13 | | - | |
14 | 12 | | |
15 | 13 | | |
16 | 14 | | |
| |||
0 commit comments