diff --git a/src/routes/profile/profile.svelte b/src/routes/profile/profile.svelte index 92e8782..aefbb9a 100644 --- a/src/routes/profile/profile.svelte +++ b/src/routes/profile/profile.svelte @@ -31,7 +31,7 @@ itms: [ { icon: Help, text: 'Help', link:"/"}, { icon: Warning, text: 'Terms of Service', link:"/"}, - { icon: Logout, text: 'Log out', link:"/"}, + { icon: Logout, text: 'Log out', link: () => user.deleteSessions() },, ], }, ] @@ -54,11 +54,19 @@ {#each items as { title, itms }}