mirror of
https://github.com/shishantbiswas/bknd.git
synced 2026-03-16 20:37:21 +00:00
fix: when auth is disabled, the users entity doesn't exist
This commit is contained in:
@@ -194,7 +194,7 @@ export const SidebarLink = <E extends React.ElementType = "a">({
|
||||
"flex flex-row px-4 py-2.5 items-center gap-2",
|
||||
!disabled &&
|
||||
"cursor-pointer rounded-md [&.active]:bg-primary/10 [&.active]:hover:bg-primary/15 [&.active]:font-medium hover:bg-primary/5 link",
|
||||
disabled && "opacity-50 cursor-not-allowed",
|
||||
disabled && "opacity-50 cursor-not-allowed pointer-events-none",
|
||||
className
|
||||
)}
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user