diff --git a/web/src/lib/stores/user.svelte.ts b/web/src/lib/stores/user.svelte.ts index acced77b42a32e..71b2cdd847c90d 100644 --- a/web/src/lib/stores/user.svelte.ts +++ b/web/src/lib/stores/user.svelte.ts @@ -19,7 +19,7 @@ const defaultUserInteraction: UserInteractions = { serverInfo: undefined, }; -export const resetUserInteractoin = () => { +export const resetUserInteraction = () => { Object.assign(userInteraction, defaultUserInteraction); }; diff --git a/web/src/lib/utils/auth.ts b/web/src/lib/utils/auth.ts index c4ef348e24c518..b706d3012e18b3 100644 --- a/web/src/lib/utils/auth.ts +++ b/web/src/lib/utils/auth.ts @@ -3,7 +3,7 @@ import { goto } from '$app/navigation'; import { foldersStore } from '$lib/stores/folders.svelte'; import { purchaseStore } from '$lib/stores/purchase.store'; import { preferences as preferences$, resetSavedUser, user as user$ } from '$lib/stores/user.store'; -import { resetUserInteractoin, userInteraction } from '$lib/stores/user.svelte'; +import { resetUserInteraction, userInteraction } from '$lib/stores/user.svelte'; import { getAboutInfo, getMyPreferences, getMyUser, getStorage } from '@immich/sdk'; import { redirect } from '@sveltejs/kit'; import { DateTime } from 'luxon'; @@ -99,7 +99,7 @@ export const handleLogout = async (redirectUri: string) => { } } finally { resetSavedUser(); - resetUserInteractoin(); + resetUserInteraction(); foldersStore.clearCache(); } };