aboutsummaryrefslogtreecommitdiff
path: root/web/pw-server/src/lib/components/navbar/UserControls.svelte
diff options
context:
space:
mode:
authorIlion Beyst <ilion.beyst@gmail.com>2022-07-24 16:45:29 +0200
committerIlion Beyst <ilion.beyst@gmail.com>2022-07-24 16:45:29 +0200
commitccfe86729e3a454e3fdf529abd7063ceb8fa859f (patch)
tree0c60dfbc76c1e2c2ba6c71a5201fde18690969f5 /web/pw-server/src/lib/components/navbar/UserControls.svelte
parent33664eff2c93136658b7f863c95e1bfda91141ee (diff)
downloadplanetwars.dev-ccfe86729e3a454e3fdf529abd7063ceb8fa859f.tar.xz
planetwars.dev-ccfe86729e3a454e3fdf529abd7063ceb8fa859f.zip
add bot detail page
Diffstat (limited to 'web/pw-server/src/lib/components/navbar/UserControls.svelte')
-rw-r--r--web/pw-server/src/lib/components/navbar/UserControls.svelte4
1 files changed, 2 insertions, 2 deletions
diff --git a/web/pw-server/src/lib/components/navbar/UserControls.svelte b/web/pw-server/src/lib/components/navbar/UserControls.svelte
index a9bd87b..5646982 100644
--- a/web/pw-server/src/lib/components/navbar/UserControls.svelte
+++ b/web/pw-server/src/lib/components/navbar/UserControls.svelte
@@ -36,8 +36,8 @@
<div class="user-controls">
{#if $currentUser}
- <a class="current-user-name" href="/users/{$currentUser["username"]}">
- {$currentUser["username"]}
+ <a class="current-user-name" href="/users/{$currentUser['username']}">
+ {$currentUser["username"]}
</a>
<div class="sign-out" on:click={signOut}>Sign out</div>
{:else}