Skip to content

Commit

Permalink
misc: show links before user loads
Browse files Browse the repository at this point in the history
  • Loading branch information
Xyphyn committed Jul 22, 2024
1 parent d7ab526 commit b8f08dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/components/ui/navbar/Profile.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@
{:else}
<MenuDivider>{$t('nav.menu.label')}</MenuDivider>
{/if}
{#if $profile?.user}
{#if $profile?.jwt}
<MenuButton link href="/profile">
<Icon src={UserCircle} mini width={16} slot="prefix" />
{$t('profile.profile')}
Expand Down

0 comments on commit b8f08dc

Please sign in to comment.