Skip to content

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

chore: remove functionsUi feature flag

TzeYiing6820f6a9ff24
diff --git a/studio/components/layouts/ProjectLayout/NavigationBar/NavigationBar.utils.tsx b/studio/components/layouts/ProjectLayout/NavigationBar/NavigationBar.utils.tsx
index cec8e3bf9ba..0606720ca9b 100644
--- a/studio/components/layouts/ProjectLayout/NavigationBar/NavigationBar.utils.tsx
+++ b/studio/components/layouts/ProjectLayout/NavigationBar/NavigationBar.utils.tsx
@@ -17,7 +17,6 @@ import { useFlag } from 'hooks'
import { ProjectBase } from 'types'
export const generateProductRoutes = (ref: string, project?: ProjectBase): Route[] => {
- const functionsUi = useFlag('functionsUi')
const isProjectBuilding = project?.status !== PROJECT_STATUS.ACTIVE_HEALTHY
const buildingUrl = `/project/${ref}/building`
@@ -68,7 +67,7 @@ export const generateProductRoutes = (ref: string, project?: ProjectBase): Route
icon: <IconDatabase size={18} strokeWidth={2} />,
link: isProjectBuilding ? buildingUrl : `/project/${ref}/database/tables`,
},
- ...(IS_PLATFORM && functionsUi
+ ...(IS_PLATFORM
? [
{
key: 'functions',