mirror of
https://github.com/supabase/supabase.git
synced 2026-06-06 22:23:54 +08:00
Fix lib icons, this time for sure
This commit is contained in:
@@ -238,10 +238,8 @@ const SideNav = () => {
|
||||
<Image
|
||||
alt={link.label}
|
||||
src={`${router.basePath}${
|
||||
!link.hasLightIcon
|
||||
? isDarkMode
|
||||
? link.icon
|
||||
: `${link.icon}-light`
|
||||
Object.hasOwn(link, 'hasLightIcon') && !link.hasLightIcon
|
||||
? link.icon
|
||||
: isDarkMode
|
||||
? link.icon
|
||||
: `${link.icon}-light`
|
||||
|
||||
Reference in New Issue
Block a user