Skip to content

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

loading line fixed for project creation

Jonathan Summers-Muirc3ef04cf6396
diff --git a/studio/components/interfaces/Integrations/ProjectLinker.tsx b/studio/components/interfaces/Integrations/ProjectLinker.tsx
index 70034222379..fc74915cc44 100644
--- a/studio/components/interfaces/Integrations/ProjectLinker.tsx
+++ b/studio/components/interfaces/Integrations/ProjectLinker.tsx
@@ -45,6 +45,10 @@ const ProjectLinker = ({
_onCreateConnections?.()
if (setLoading) setLoading(false)
},
+
+ onError() {
+ if (setLoading) setLoading(false)
+ },
})
function onCreateConnections() {
diff --git a/studio/pages/integrations/vercel/[slug]/deploy-button/new-project.tsx b/studio/pages/integrations/vercel/[slug]/deploy-button/new-project.tsx
index 299040165fe..dd89d74d6d4 100644
--- a/studio/pages/integrations/vercel/[slug]/deploy-button/new-project.tsx
+++ b/studio/pages/integrations/vercel/[slug]/deploy-button/new-project.tsx
@@ -35,7 +35,7 @@ const VercelIntegration: NextPageWithLayout = () => {
<h1 className="text-xl text-scale-1200">New project</h1>
<>
<Markdown content={`Choose the Supabase Organization you wish to install to`} />
- <CreateProject loading={loading} setLoading={(e: boolean) => setLoading(e)} />
+ <CreateProject loading={loading} setLoading={setLoading} />
</>
</ScaffoldContainer>
<ScaffoldContainer className="flex flex-col gap-6 py-3">