The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
fix: bug
phamhieu6ed2ebf404b8
diff --git a/studio/pages/vercel/integrate.tsx b/studio/pages/vercel/integrate.tsxindex 685c5d85fff..7fb5595db7e 100644--- a/studio/pages/vercel/integrate.tsx+++ b/studio/pages/vercel/integrate.tsx@@ -54,7 +54,6 @@ interface IVercelIntegrationStore {}[]isDeployButtonFlow: boolean- isSupabaseProjectListEmpty: booleanintegrationComplete: booleanqueryParams: Dictionary<string>projectLinkRemaining: number@@ -97,12 +96,6 @@ class VercelIntegrationStore implements IVercelIntegrationStore {return !!this.currentProjectId}- get isSupabaseProjectListEmpty() {- const { app } = useStore()- const projects = app.projects.list()- return projects.length == 0- }-// @ts-ignoreget queryParams() {return {@@ -191,6 +184,9 @@ type VercelIntegrationProps = {} & anyconst VercelIntegration: FC<VercelIntegrationProps> = ({}) => {// @ts-ignoreconst _store: IVercelIntegrationStore = useLocalObservable(() => new VercelIntegrationStore())+ const { app } = useStore()+ const projects = app.projects.list()+ const isSupabaseProjectListEmpty = projects.length == 0useEffect(() => {_store.loadInitialData()@@ -203,7 +199,7 @@ const VercelIntegration: FC<VercelIntegrationProps> = ({}) => {<Connecting />) : _store.isDeployButtonFlow ? (<IntegrationProject />- ) : _store.isSupabaseProjectListEmpty ? (+ ) : isSupabaseProjectListEmpty ? (<ProjectLinksEmptyState />) : (<ProjectLinks />