feat: switch to svh

This commit is contained in:
Xyphyn committed 2023-08-05 13:18:21 -07:00
1 parent 5c04bdb677
commit d59060ab35
6 files changed
+19 -12

No files matched your search

+1 -1
View File
@@ -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),
})