diff --git a/src/lib/auth.ts b/src/lib/auth.ts index c13045de..74fbf1de 100644 --- a/src/lib/auth.ts +++ b/src/lib/auth.ts @@ -16,6 +16,7 @@ import { get, writable } from 'svelte/store' import { MINIMUM_VERSION, versionIsSupported } from '$lib/version.js' import { browser } from '$app/environment' import { env } from '$env/dynamic/public' +import type { ResumableCommunity } from './lemmy/item' const getDefaultProfile = (): Profile => ({ id: -1, @@ -42,7 +43,7 @@ export interface Profile { user?: PersonData username?: string avatar?: string - favorites?: number[] + favorites?: ResumableCommunity[] color?: string } diff --git a/src/lib/components/ui/layout/Shell.svelte b/src/lib/components/ui/layout/Shell.svelte index e20f41e3..b30516a0 100644 --- a/src/lib/components/ui/layout/Shell.svelte +++ b/src/lib/components/ui/layout/Shell.svelte @@ -10,13 +10,6 @@