The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Update with-svelte.mdx (#21432)
Nick James9a68e5a377ea
diff --git a/apps/docs/content/guides/getting-started/tutorials/with-svelte.mdx b/apps/docs/content/guides/getting-started/tutorials/with-svelte.mdxindex e95078cce5f..b85eb77996c 100644--- a/apps/docs/content/guides/getting-started/tutorials/with-svelte.mdx+++ b/apps/docs/content/guides/getting-started/tutorials/with-svelte.mdx@@ -117,7 +117,7 @@ Let's set up a Svelte component to manage logins and sign ups. We'll use Magic LAfter a user is signed in we can allow them to edit their profile details and manage their account.Let's create a new component for that called `Account.svelte`.-```html src/lib/Account.svelte+```tsx src/lib/Account.svelte<script lang="ts">import { onMount } from 'svelte'import type { AuthSession } from '@supabase/supabase-js'@@ -204,8 +204,7 @@ Let's create a new component for that called `Account.svelte`.{loading ? 'Saving ...' : 'Update profile'}</button></div>- <button type="button" class="button block" on:click="{()" ="">- supabase.auth.signOut()}> Sign Out+ <button type="button" class="button block" on:click={() => supabase.auth.signOut()}> Sign Out</button></form>```