Skip to content

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

Fix indentation

Andrew Smith61239933c2df
diff --git a/apps/docs/pages/guides/auth/auth-helpers/sveltekit.mdx b/apps/docs/pages/guides/auth/auth-helpers/sveltekit.mdx
index 4873b795180..5ffe6f1b488 100644
--- a/apps/docs/pages/guides/auth/auth-helpers/sveltekit.mdx
+++ b/apps/docs/pages/guides/auth/auth-helpers/sveltekit.mdx
@@ -149,8 +149,8 @@ We need to create an event listener in the root `+layout.svelte` file in order c
data: { subscription },
} = supabase.auth.onAuthStateChange((event, _session) => {
if (_session?.expires_at !== session?.expires_at) {
- invalidate('supabase:auth')
- }
+ invalidate('supabase:auth');
+ }
});
return () => subscription.unsubscribe();
@@ -551,8 +551,8 @@ export const load: LayoutLoad = async ({ fetch, data, depends }) => {
data: { subscription },
} = supabase.auth.onAuthStateChange((event, _session) => {
if (_session?.expires_at !== session?.expires_at) {
- invalidate('supabase:auth')
- }
+ invalidate('supabase:auth')
+ }
});
return () => subscription.unsubscribe();