The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Remove type from example
Andrew Smith0ce8b21d39e6
diff --git a/apps/docs/pages/guides/auth/auth-helpers/sveltekit.mdx b/apps/docs/pages/guides/auth/auth-helpers/sveltekit.mdxindex e279e528a5b..b975179acc0 100644--- a/apps/docs/pages/guides/auth/auth-helpers/sveltekit.mdx+++ b/apps/docs/pages/guides/auth/auth-helpers/sveltekit.mdx@@ -317,7 +317,7 @@ TypeScript types can be [generated with the Supabase CLI](https://supabase.com/d</TabPanel></Tabs>-Access the client inside pages by `$page.data.supabase` or `data.supabase` when using `export let data: PageData`.+Access the client inside pages by `$page.data.supabase` or `data.supabase` when using `export let data`.The usage of `depends` tells sveltekit that this load function should be executed whenever `invalidate` is called to keep the page store in sync.@@ -335,6 +335,7 @@ We need to create an event listener in the root `+layout.svelte` file in order texport let data+ let { supabase, session } = data$: ({ supabase, session } = data)onMount(() => {