misc: switch profile to use a derived store

This commit is contained in:
Xylight committed 2024-07-06 11:33:31 -07:00
1 parent 0f4796dadc
commit 19d4617dbf
5 files changed
+77 -127

No files matched your search

+2 -1
View File
@@ -5,7 +5,8 @@ import { get } from 'svelte/store'
import type { SubscribedType } from 'lemmy-js-client'
import { page } from '$app/stores'
import { feature } from '$lib/version.js'
import { client, site } from '$lib/lemmy.js'
import { client } from '$lib/lemmy.js'
import { site } from './lemmy'
export const findClosestNumber = (numbers: number[], target: number): number =>
numbers.reduce((prev, curr) =>