Skip to content

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

Remove config cat flag for home (#41335)

Saxon Fletcher0ded7c2e0ba4
diff --git a/apps/studio/pages/project/[ref]/index.tsx b/apps/studio/pages/project/[ref]/index.tsx
index 9f9122cf52e..4396fe2c947 100644
--- a/apps/studio/pages/project/[ref]/index.tsx
+++ b/apps/studio/pages/project/[ref]/index.tsx
@@ -1,4 +1,3 @@
-import { useFlag } from 'common'
import { Home } from 'components/interfaces/Home/Home'
import { HomeV2 } from 'components/interfaces/HomeNew/Home'
import DefaultLayout from 'components/layouts/DefaultLayout'
@@ -7,10 +6,9 @@ import { usePHFlag } from 'hooks/ui/useFlag'
import type { NextPageWithLayout } from 'types'
const HomePage: NextPageWithLayout = () => {
- const isHomeNew = useFlag('homeNew')
const isHomeNewPH = usePHFlag('homeNew')
- if (isHomeNew && isHomeNewPH) {
+ if (isHomeNewPH) {
return <HomeV2 />
}
return <Home />