Commit 59bb438
committed
refactor: persist explicit 'light' theme preference instead of removing storage key
- Change toggleTheme to store 'light' in localStorage instead of removing the key when switching to light mode
- Ensures theme preference is always explicitly stored rather than relying on key absence1 parent 7b1e5ee commit 59bb438
1 file changed
Lines changed: 1 addition & 1 deletion
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
0 commit comments