refac: user pending screen

Co-Authored-By: silentoplayz <50341825+silentoplayz@users.noreply.github.com>
This commit is contained in:
Timothy Jaeryang Baek 2025-07-02 16:11:13 +04:00
parent 21f9982c5a
commit 7adb15d4b0

View file

@ -278,7 +278,8 @@
>
{#if !['user', 'admin'].includes($user?.role)}
<AccountPending />
{:else if localDBChats.length > 0}
{:else}
{#if localDBChats.length > 0}
<div class="fixed w-full h-full flex z-50">
<div
class="absolute w-full h-full backdrop-blur-md bg-white/20 dark:bg-gray-900/50 flex justify-center"
@ -341,6 +342,7 @@
<Spinner className="size-5" />
</div>
{/if}
{/if}
</div>
</div>
{/if}