diff --git a/src/routes/docs/quick-starts/sveltekit/+page.markdoc b/src/routes/docs/quick-starts/sveltekit/+page.markdoc index 997e89eaf4..dc02891eea 100644 --- a/src/routes/docs/quick-starts/sveltekit/+page.markdoc +++ b/src/routes/docs/quick-starts/sveltekit/+page.markdoc @@ -101,7 +101,7 @@ Replace the contents of `src/routes/+page.svelte` with the following code. } } - function logout() { + async function logout() { await account.deleteSession('current'); loggedInUser = null; }