diff --git a/src/lib/auth.ts b/src/lib/auth.ts index 2d501fa1..3ff8c6c7 100644 --- a/src/lib/auth.ts +++ b/src/lib/auth.ts @@ -5,7 +5,7 @@ import { getClient } from '$lib/lemmy.js' import type { MyUserInfo } from 'lemmy-js-client' import { get, writable } from 'svelte/store' -const getDefaultProfile = () => ({ +const getDefaultProfile = (): Profile => ({ id: -1, instance: get(profileData)?.defaultInstance ?? get(instance), }) diff --git a/src/lib/components/input/Button.svelte b/src/lib/components/input/Button.svelte index 0a96e2b8..2ceb0b96 100644 --- a/src/lib/components/input/Button.svelte +++ b/src/lib/components/input/Button.svelte @@ -70,6 +70,7 @@ {#if href} diff --git a/src/lib/components/ui/sidebar/Sidebar.svelte b/src/lib/components/ui/sidebar/Sidebar.svelte index e5430fc8..1414204f 100644 --- a/src/lib/components/ui/sidebar/Sidebar.svelte +++ b/src/lib/components/ui/sidebar/Sidebar.svelte @@ -21,20 +21,23 @@