fix: ssr handoff crash
This commit is contained in:
9 files changed
+98
-113
No files matched your search
@@ -10,10 +10,7 @@
|
||||
} from '$lib/auth.svelte.js'
|
||||
import { Menu, MenuButton, Modal } from 'mono-svelte'
|
||||
import DebugObject from '$lib/components/util/debug/DebugObject.svelte'
|
||||
import {
|
||||
DEFAULT_INSTANCE_URL,
|
||||
LINKED_INSTANCE_URL,
|
||||
} from '$lib/instance.svelte.js'
|
||||
import { LINKED_INSTANCE_URL } from '$lib/instance.svelte.js'
|
||||
import ProfileAvatar from '$lib/lemmy/ProfileAvatar.svelte'
|
||||
import { settings } from '$lib/settings.svelte.js'
|
||||
import { Button, TextInput } from 'mono-svelte'
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
import { t } from '$lib/translations'
|
||||
import { Button, TextInput, toast } from 'mono-svelte'
|
||||
|
||||
let instance = $state(LINKED_INSTANCE_URL || $currentInstance || '')
|
||||
let instance = $state(LINKED_INSTANCE_URL || currentInstance.data || '')
|
||||
let email = $state('')
|
||||
let loading = $state(false)
|
||||
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
|
||||
let { data }: Props = $props()
|
||||
|
||||
let instance = $state(LINKED_INSTANCE_URL || $currentInstance || '')
|
||||
let instance = $state(LINKED_INSTANCE_URL || currentInstance.data || '')
|
||||
let password = $state(''),
|
||||
password_verify = $state('')
|
||||
let loading = $state(false)
|
||||
|
||||
@@ -231,8 +231,8 @@
|
||||
</p>
|
||||
{/snippet}
|
||||
<Button
|
||||
color="primary"
|
||||
class="dark:bg-pink-400 bg-pink-600"
|
||||
color="none"
|
||||
class="dark:bg-pink-400 bg-pink-600 text-white dark:text-black"
|
||||
href="https://buymeacoffee.com/xylight"
|
||||
target="_blank"
|
||||
rounding="xl"
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
import { goto } from '$app/navigation'
|
||||
import { Badge, Material, Spinner, toast } from 'mono-svelte'
|
||||
import { DEFAULT_INSTANCE_URL } from '$lib/instance.svelte.js'
|
||||
import { DEFAULT_INSTANCE_URL, instance } from '$lib/instance.svelte.js'
|
||||
import { validateInstance } from '$lib/lemmy.svelte.js'
|
||||
import { Button, TextInput } from 'mono-svelte'
|
||||
import { onMount } from 'svelte'
|
||||
|
||||
Reference in new issue
Block a user