diff --git a/web/docs/guides/with-svelte.mdx b/web/docs/guides/with-svelte.mdx index 2ff2f74c7ec..f39edf33dbf 100644 --- a/web/docs/guides/with-svelte.mdx +++ b/web/docs/guides/with-svelte.mdx @@ -269,7 +269,7 @@ Let's set up a Svelte component to manage logins and sign ups. We'll use Magic L ### User store To access the user information in other places, we use writable store. Create a new file called `sessionStore.js` -```javascript title="src/sessionStore.svelte" +```javascript title="src/sessionStore.js" import { writable } from 'svelte/store'; export const user = writable(false); @@ -279,9 +279,9 @@ export const user = writable(false); ### Account page After 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`. +Let's create a new component for that called `Profile.svelte`. -```html title="src/Account.svelte" +```html title="src/Profile.svelte"