Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

Fix nav bar (#30897)

Joshen Lim5d538a82c0d6
diff --git a/apps/studio/components/layouts/ProjectLayout/NavigationBar/NavigationBar.tsx b/apps/studio/components/layouts/ProjectLayout/NavigationBar/NavigationBar.tsx
index df5ca9f8ee3..8d45873c7a9 100644
--- a/apps/studio/components/layouts/ProjectLayout/NavigationBar/NavigationBar.tsx
+++ b/apps/studio/components/layouts/ProjectLayout/NavigationBar/NavigationBar.tsx
@@ -211,19 +211,17 @@ const NavigationBar = () => {
}}
>
<ul className="flex flex-col gap-y-1 justify-start px-2 relative">
- {!IS_PLATFORM && (
- <Link
- href={IS_PLATFORM ? '/projects' : `/project/${projectRef}`}
- className="mx-2 flex items-center h-[40px]"
- onClick={onCloseNavigationIconLink}
- >
- <img
- alt="Supabase"
- src={`${router.basePath}/img/supabase-logo.svg`}
- className="absolute h-[40px] w-6 cursor-pointer rounded"
- />
- </Link>
- )}
+ <Link
+ href={IS_PLATFORM ? '/projects' : `/project/${projectRef}`}
+ className="mx-2 flex items-center h-[40px]"
+ onClick={onCloseNavigationIconLink}
+ >
+ <img
+ alt="Supabase"
+ src={`${router.basePath}/img/supabase-logo.svg`}
+ className="absolute h-[40px] w-6 cursor-pointer rounded"
+ />
+ </Link>
<NavigationIconLink
isActive={isUndefined(activeRoute) && !isUndefined(router.query.ref)}
route={{