mirror of
https://github.com/supabase/supabase.git
synced 2026-10-05 17:35:10 +03:00
Fix frameworks error (#38710)
This commit is contained in:
1 parent
3d12dfd20c
commit
e4e65b9979
1 file changed
+4
-4
@@ -69,7 +69,7 @@ export const Connect = () => {
|
||||
parseAsBoolean.withDefault(false)
|
||||
)
|
||||
|
||||
// helper to get tthe connection type object
|
||||
// helper to get the connection type object
|
||||
function getConnectionObjectForTab(tab: string | null, frameworks: ConnectionType[]) {
|
||||
switch (tab) {
|
||||
case 'frameworks':
|
||||
@@ -259,7 +259,7 @@ export const Connect = () => {
|
||||
useEffect(() => {
|
||||
if (!showConnect) return
|
||||
|
||||
const newConnectionObject = getConnectionObjectForTab(tab, frameworks)
|
||||
const newConnectionObject = getConnectionObjectForTab(tab, FRAMEWORKS)
|
||||
setConnectionObject(newConnectionObject)
|
||||
|
||||
const parent =
|
||||
@@ -285,7 +285,7 @@ export const Connect = () => {
|
||||
if (queryWith) {
|
||||
if (grandchild?.key !== queryWith) setQueryWith(grandchild?.key ?? null)
|
||||
}
|
||||
}, [showConnect, tab, frameworks, queryFramework, queryUsing, queryWith])
|
||||
}, [showConnect, tab, FRAMEWORKS, queryFramework, queryUsing, queryWith])
|
||||
|
||||
if (!isActiveHealthy) {
|
||||
return (
|
||||
@@ -429,7 +429,7 @@ export const Connect = () => {
|
||||
className="border border-t-0 rounded-lg rounded-t-none"
|
||||
title="New API keys coming 2025"
|
||||
description={`
|
||||
\`anon\` and \`service_role\` API keys will be changing to \`publishable\` and \`secret\` API keys.
|
||||
\`anon\` and \`service_role\` API keys will be changing to \`publishable\` and \`secret\` API keys.
|
||||
`}
|
||||
href="https://github.com/orgs/supabase/discussions/29260"
|
||||
buttonText="Read the announcement"
|
||||
|
||||
Reference in new issue
Block a user