misc: change $site to a $state
This commit is contained in:
85 files changed
+153
-140
No files matched your search
@@ -1,4 +1,4 @@
|
||||
import { getClient } from '$lib/lemmy.js'
|
||||
import { getClient } from '$lib/lemmy.svelte.js'
|
||||
import { isComment, isCommentView, isPostView } from '$lib/lemmy/item.js'
|
||||
import type {
|
||||
CommentView,
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { publishedToDate } from '$lib/components/util/date.js'
|
||||
import { getClient } from '$lib/lemmy.js'
|
||||
import { getClient } from '$lib/lemmy.svelte.js'
|
||||
import type { Result } from '$lib/lemmy/item.js'
|
||||
import type {
|
||||
Comment,
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { browser } from '$app/environment'
|
||||
import { instance } from '$lib/instance'
|
||||
import { client } from '$lib/lemmy'
|
||||
import { client } from '$lib/lemmy.svelte'
|
||||
import type {
|
||||
GetPosts,
|
||||
GetPostsResponse,
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { profile, profileData, type Profile } from '$lib/auth.svelte'
|
||||
import { getClient } from '$lib/lemmy.js'
|
||||
import { getClient } from '$lib/lemmy.svelte.js'
|
||||
import { trycatch } from '$lib/util.svelte'
|
||||
import type { Community, MyUserInfo, PersonView } from 'lemmy-js-client'
|
||||
import { get } from 'svelte/store'
|
||||
|
||||
Reference in new issue
Block a user