misc: change $site to a $state

This commit is contained in:
James Xylight committed 2025-02-09 11:17:01 -08:00
1 parent a94dd5f3d4
commit 8dcca84e60
85 files changed
+153 -140

No files matched your search

+1 -1
View File
@@ -20,7 +20,7 @@
import { page } from '$app/state'
import { goto } from '$app/navigation'
import { isCommentView } from '$lib/lemmy/item.js'
import { client, getClient } from '$lib/lemmy.js'
import { client, getClient } from '$lib/lemmy.svelte.js'
import { isBlocked } from '$lib/lemmy/user.js'
import { Menu, MenuButton, removeToast, toast } from 'mono-svelte'
import UserLink from '$lib/components/lemmy/user/UserLink.svelte'
+1 -1
View File
@@ -1,4 +1,4 @@
import { getClient } from '$lib/lemmy.js'
import { getClient } from '$lib/lemmy.svelte.js'
import { getItemPublished } from '$lib/lemmy/item.js'
import type { SortType } from 'lemmy-js-client'