The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
fix: auth config updates (#46683)
Charis4eaef098fa4f
diff --git a/apps/studio/data/auth/auth-config-update-mutation.ts b/apps/studio/data/auth/auth-config-update-mutation.tsindex 7d1fb426221..51f6ddc7577 100644--- a/apps/studio/data/auth/auth-config-update-mutation.ts+++ b/apps/studio/data/auth/auth-config-update-mutation.ts@@ -1,7 +1,6 @@import { useMutation, useQueryClient } from '@tanstack/react-query'import { toast } from 'sonner'-import type { ProjectAuthConfigData } from './auth-config-query'import { authKeys } from './keys'import type { components } from '@/data/api'import { handleError, patch } from '@/data/fetchers'@@ -46,10 +45,8 @@ export const useAuthConfigUpdateMutation = ({const { projectRef, skipInvalidation = false } = variablesif (!skipInvalidation) {- queryClient.setQueryData<ProjectAuthConfigData>(authKeys.authConfig(projectRef), data)await queryClient.invalidateQueries({queryKey: authKeys.authConfig(projectRef),- refetchType: 'none',})}