The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
remove profile creating loading toasts
Alaister Young969fa6fa219b
diff --git a/studio/lib/auth.tsx b/studio/lib/auth.tsxindex b5b31e36721..762cc3da511 100644--- a/studio/lib/auth.tsx+++ b/studio/lib/auth.tsx@@ -55,23 +55,8 @@ export const AuthProvider = ({ children }: PropsWithChildren<{}>) => {return subscription.unsubscribe}, [])- const notificationIdRef = useRef<string | undefined>()const { mutate: createProfile } = useProfileCreateMutation({- onMutate() {- notificationIdRef.current = ui.setNotification({- category: 'loading',- message: 'Creating your profile...',- })- },onSuccess() {- ui.setNotification({- category: 'success',- message: 'Profile created successfully!',- id: notificationIdRef.current,- })-- notificationIdRef.current = undefined-Telemetry.sendEvent({ category: 'conversion', action: 'sign_up', label: '' },telemetryProps,@@ -82,10 +67,7 @@ export const AuthProvider = ({ children }: PropsWithChildren<{}>) => {ui.setNotification({category: 'error',message: 'Failed to create your profile. Please refresh to try again.',- id: notificationIdRef.current,})-- notificationIdRef.current = undefined},})