The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
broke the funcions index
Jonathan Summers-Muir0c889bb0040e
diff --git a/studio/pages/project/[ref]/functions/index.tsx b/studio/pages/project/[ref]/functions/index.tsxindex ad1bc03c3ee..820dafbe456 100644--- a/studio/pages/project/[ref]/functions/index.tsx+++ b/studio/pages/project/[ref]/functions/index.tsx@@ -285,22 +285,9 @@ const PageLayout = () => {const { functions } = useStore()const hasFunctions = functions.list().length > 0- const router = useRouter()- const { ref } = router.query-- const {- data,- error,- mutate: mutateSettings,- }: any = useSWR(`${API_URL}/props/project/${ref}/settings`, get)- const { data: config, mutate: mutateConfig }: any = useSWR(- `${API_URL}/projects/${ref}/config?app=postgrest`,- get- )-return (- <FunctionsLayout centered={true}>- {false ? <FunctionsList functions={functions.list()} /> : <EmptyFunctions />}+ <FunctionsLayout centered={!hasFunctions}>+ {hasFunctions ? <FunctionsList functions={functions.list()} /> : <EmptyFunctions />}</FunctionsLayout>)}