misc: format file

This commit is contained in:
Xylight committed 2024-07-17 09:54:56 -07:00
1 parent 3a965e617d
commit 260fd895e2
1 file changed
+4 -4
+4 -4
View File
@@ -57,7 +57,7 @@ interface ProfileData {
defaultInstance?: string
}
interface PersonData extends MyUserInfo {}
interface PersonData extends MyUserInfo { }
interface Notifications {
inbox: number
@@ -295,11 +295,11 @@ export function deleteProfile(id: number) {
profileData.update((pd) => {
const index = pd.profiles.findIndex((p) => p.id == id)
if (index <= -1) return pd
pd.profiles.splice(index, 1)
if (id == pd.profile) resetProfile()
return pd
})
}
@@ -318,7 +318,7 @@ instance.subscribe(async (i) => {
const s = await new LemmyHttp(`https://${i}`).getSite()
site.set(s)
} catch (e) {}
} catch (e) { }
})
export async function setUserID(id: number) {