misc: change $site to a $state
This commit is contained in:
85 files changed
+153
-140
No files matched your search
@@ -9,7 +9,7 @@
|
||||
import Avatar from '$lib/components/ui/Avatar.svelte'
|
||||
import Placeholder from '$lib/components/ui/Placeholder.svelte'
|
||||
import { Checkbox, Material, Spinner, toast } from 'mono-svelte'
|
||||
import { getClient } from '$lib/lemmy.js'
|
||||
import { getClient } from '$lib/lemmy.svelte.js'
|
||||
import type { GetCaptchaResponse } from 'lemmy-js-client'
|
||||
import { Button, TextInput } from 'mono-svelte'
|
||||
import {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { getClient } from '$lib/lemmy.js'
|
||||
import { getClient } from '$lib/lemmy.svelte.js'
|
||||
|
||||
export async function load({ params, fetch }) {
|
||||
const site = await getClient(params.instance, fetch).getSite()
|
||||
|
||||
Reference in new issue
Block a user