misc: change $site to a $state
This commit is contained in:
85 files changed
+153
-140
No files matched your search
@@ -1,5 +1,5 @@
|
||||
import { profile } from '$lib/auth.svelte'
|
||||
import { client } from '$lib/lemmy.js'
|
||||
import { client } from '$lib/lemmy.svelte.js'
|
||||
|
||||
export async function load({ fetch, url }) {
|
||||
const { jwt } = profile.data
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
import { publishedToDate } from '$lib/components/util/date'
|
||||
import RelativeDate from '$lib/components/util/RelativeDate.svelte'
|
||||
import { instance } from '$lib/instance'
|
||||
import { client } from '$lib/lemmy'
|
||||
import { client } from '$lib/lemmy.svelte'
|
||||
import { t } from '$lib/translations'
|
||||
import { instanceToURL } from '$lib/util.svelte'
|
||||
import type { LocalImage } from 'lemmy-js-client'
|
||||
|
||||
Reference in new issue
Block a user