auth: use set and update
This commit is contained in:
1 parent
35ea654762
commit
0cdb91b20b
3 files changed
+24
-6
No files matched your search
@@ -0,0 +1 @@
|
||||
<slot />
|
||||
@@ -0,0 +1,16 @@
|
||||
<script lang="ts">
|
||||
import { profile } from '$lib/auth'
|
||||
import { t } from '$lib/translations'
|
||||
import { Spinner } from 'mono-svelte'
|
||||
</script>
|
||||
|
||||
<svelte:head>
|
||||
<title>{$t('profile.subscribed')}</title>
|
||||
</svelte:head>
|
||||
|
||||
{#if $profile?.user}{:else}
|
||||
<div class="h-full w-full flex flex-col justify-center items-center">
|
||||
<Spinner width={40} />
|
||||
<span>{$t('toast.userLoading')}</span>
|
||||
</div>
|
||||
{/if}
|
||||
Reference in new issue
Block a user