Skip to content

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

fix for connect modal being stuck loading for non JS frameworks (#44992)

Fatuma Abdullahic04f2465e4c1
diff --git a/apps/studio/components/interfaces/ConnectSheet/useConnectState.ts b/apps/studio/components/interfaces/ConnectSheet/useConnectState.ts
index ffa3428151a..415eeb2542b 100644
--- a/apps/studio/components/interfaces/ConnectSheet/useConnectState.ts
+++ b/apps/studio/components/interfaces/ConnectSheet/useConnectState.ts
@@ -254,7 +254,6 @@ export function useConnectState(initialState?: Partial<ConnectState>): UseConnec
const libraryKey = resolveFrameworkLibraryKey({
framework: next.framework,
frameworkVariant: next.frameworkVariant,
- library: next.library,
})
if (libraryKey) {
next.library = libraryKey
@@ -268,7 +267,6 @@ export function useConnectState(initialState?: Partial<ConnectState>): UseConnec
const libraryKey = resolveFrameworkLibraryKey({
framework: prev.framework,
frameworkVariant: String(value),
- library: next.library,
})
if (libraryKey) next.library = libraryKey
}
@@ -297,7 +295,6 @@ export function useConnectState(initialState?: Partial<ConnectState>): UseConnec
const libraryKey = resolveFrameworkLibraryKey({
framework: next.framework,
frameworkVariant: next.frameworkVariant,
- library: next.library,
})
if (libraryKey) next.library = libraryKey
}