Add UserAvatar component and update Navbar.svelte
This commit is contained in:
@@ -31,9 +31,3 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{#if data.user}
|
||||
<form method="post" use:enhance>
|
||||
<button class="btn btn-primary">Sign out</button>
|
||||
</form>
|
||||
{/if}
|
||||
|
||||
Reference in New Issue
Block a user