Skip to content

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

fix: typos (#39118)

Charisef12cd5636e1
diff --git a/apps/studio/components/interfaces/Database/Hooks/FormContents.tsx b/apps/studio/components/interfaces/Database/Hooks/FormContents.tsx
index af0ec2828a7..dbed67dcc9f 100644
--- a/apps/studio/components/interfaces/Database/Hooks/FormContents.tsx
+++ b/apps/studio/components/interfaces/Database/Hooks/FormContents.tsx
@@ -51,7 +51,7 @@ export const FormContents = ({
const restUrlTld = restUrl ? new URL(restUrl).hostname.split('.').pop() : 'co'
const { data: keys = [] } = useAPIKeysQuery({ projectRef: ref, reveal: true })
- const { data: functions = [], isSuccess: isSucessEdgeFunctions } = useEdgeFunctionsQuery({
+ const { data: functions = [], isSuccess: isSuccessEdgeFunctions } = useEdgeFunctionsQuery({
projectRef: ref,
})
@@ -83,7 +83,7 @@ export const FormContents = ({
}, [values.function_type])
useEffect(() => {
- if (!isSucessEdgeFunctions) return
+ if (!isSuccessEdgeFunctions) return
const isEdgeFunctionSelected = isEdgeFunction({ ref, restUrlTld, url: values.http_url })
@@ -109,7 +109,7 @@ export const FormContents = ({
setHttpHeaders(updatedHttpHeaders)
}
// eslint-disable-next-line react-hooks/exhaustive-deps
- }, [values.http_url, isSucessEdgeFunctions])
+ }, [values.http_url, isSuccessEdgeFunctions])
return (
<div>