diff options
| author | Adam Soltys <[email protected]> | 2026-03-04 23:06:35 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-03-04 23:06:35 -0800 |
| commit | e5f37b003d93a17c2a9958697269b2d3228d8830 (patch) | |
| tree | e2c3a3c4d1bec48d323e830f5be35d5832845a9a /src/routes/(app)/+layout.svelte | |
| parent | e6882c6a8987e23215a2538b242431ae603c7101 (diff) | |
| download | coinos-ui-e5f37b003d93a17c2a9958697269b2d3228d8830.tar.gz coinos-ui-e5f37b003d93a17c2a9958697269b2d3228d8830.zip | |
tuning
Diffstat (limited to 'src/routes/(app)/+layout.svelte')
| -rw-r--r-- | src/routes/(app)/+layout.svelte | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/routes/(app)/+layout.svelte b/src/routes/(app)/+layout.svelte index 991171be..5a9397b5 100644 --- a/src/routes/(app)/+layout.svelte +++ b/src/routes/(app)/+layout.svelte @@ -29,14 +29,14 @@ import Nostr from "$comp/Nostr.svelte"; import Password from "$comp/Password.svelte"; import { s, f, toFiat, success, getCookie, warning, post } from "$lib/utils"; - import { t, locale, loading } from "$lib/translations"; + import { t, locale } from "$lib/translations"; import { goto, invalidate, afterNavigate } from "$app/navigation"; let { data, children } = $props(); let user = $derived(data.user); - let subject = $derived(data.subject); + let subject = $derived(($page.data as any).subject); let token = $derived(data.token); let theme = $derived(data.theme); @@ -332,7 +332,5 @@ <main class="pb-4 min-h-dvh" data-theme={theme}> <OfflineBanner /> <AppHeader {user} {subject} /> - {#if !$loading} - {@render children?.()} - {/if} + {@render children?.()} </main> |
