The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Updates based on feedback
Joshen Limdda1206cea56
diff --git a/studio/components/interfaces/Functions/EdgeFunctionDetails.tsx b/studio/components/interfaces/Functions/EdgeFunctionDetails.tsxindex 42b4986fc64..c93c1fefb66 100644--- a/studio/components/interfaces/Functions/EdgeFunctionDetails.tsx+++ b/studio/components/interfaces/Functions/EdgeFunctionDetails.tsx@@ -56,7 +56,7 @@ const EdgeFunctionDetails: FC<Props> = () => {'functions',...endpointSections.slice(1),].join('.')- const functionUrl = `https://${functionsEndpoint}/${selectedFunction?.slug}`+ const functionUrl = `${apiService?.protocol}://${functionsEndpoint}/${selectedFunction?.slug}`const onConfirmDelete = async () => {if (!projectRef) return console.error('Project ref is required')diff --git a/studio/data/edge-functions/edge-functions-delete-mutation.ts b/studio/data/edge-functions/edge-functions-delete-mutation.tsindex f37faa08a37..d642758cd9c 100644--- a/studio/data/edge-functions/edge-functions-delete-mutation.ts+++ b/studio/data/edge-functions/edge-functions-delete-mutation.ts@@ -34,7 +34,10 @@ export const useEdgeFunctionDeleteMutation = ({(vars) => deleteEdgeFunction(vars),{async onSuccess(data, variables, context) {- await queryClient.invalidateQueries(edgeFunctionsKeys.list(variables.projectRef))+ const { projectRef } = variables+ await queryClient.invalidateQueries(edgeFunctionsKeys.list(projectRef), {+ refetchType: 'all',+ })await onSuccess?.(data, variables, context)},...options,