Commit 328576f
fix: add active state to secondary menu items
Secondary menu items (sub-items) in the sidebar now properly show their active state when selected.
- Added `isActive={pathname === href}` prop to `SidebarMenuSubButton` component
- Fixes issue where TOTP Debugger and other secondary menu items didn't indicate selection
- Follows existing pattern used for regular menu items
Fixes #34
Co-authored-by: AprilNEA <[email protected]>1 parent 5422e41 commit 328576f
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
176 | 176 | | |
177 | 177 | | |
178 | 178 | | |
179 | | - | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
180 | 183 | | |
181 | 184 | | |
182 | 185 | | |
| |||
0 commit comments