mirror of
https://github.com/CompassConnections/Compass.git
synced 2026-05-18 22:02:07 -04:00
Remove redundant hover background color style in sidebar-item.tsx.
This commit is contained in:
@@ -28,9 +28,7 @@ export function SidebarItem(props: {item: Item; currentPage?: string}) {
|
||||
}
|
||||
|
||||
const sidebarClass = clsx(
|
||||
isCurrentPage
|
||||
? 'bg-ink-100 text-primary-700'
|
||||
: 'text-ink-600 hover:bg-ink-100 hover:text-primary-700',
|
||||
isCurrentPage ? 'bg-ink-100 text-primary-700' : 'text-ink-600 hover:text-primary-700',
|
||||
'group flex items-center rounded-md px-3 py-2 text-sm font-medium',
|
||||
'focus-visible:bg-ink-100 outline-none transition-all',
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user