diff options
| author | secondl1ght <[email protected]> | 2022-07-30 06:52:55 -0600 |
|---|---|---|
| committer | secondl1ght <[email protected]> | 2022-07-30 06:52:55 -0600 |
| commit | 8851572f78a70c7bd02a3d669dc103459323ed8d (patch) | |
| tree | 8f2bdce5946ac7a7a81ccdbeaa91191129f39442 /src/components/AppHeader.svelte | |
| parent | fac00131fd980db9513143807fe2d823376e9551 (diff) | |
| download | coinos-ui-8851572f78a70c7bd02a3d669dc103459323ed8d.tar.gz coinos-ui-8851572f78a70c7bd02a3d669dc103459323ed8d.zip | |
add 404 and error page, redirect to login if trying to access w/o user
Diffstat (limited to 'src/components/AppHeader.svelte')
| -rw-r--r-- | src/components/AppHeader.svelte | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/AppHeader.svelte b/src/components/AppHeader.svelte index 3f8e7e87..6376e27f 100644 --- a/src/components/AppHeader.svelte +++ b/src/components/AppHeader.svelte @@ -1,7 +1,7 @@ <script> // we will want to dynamically use the users avatar on this screen if they have uploaded one - import { user } from "$lib/store"; + import { user } from '$lib/store'; import { goto } from '$app/navigation'; import { Icon } from '$comp'; </script> @@ -15,7 +15,7 @@ ><Icon icon="clock" style="mx-auto" /></button > <button class="bg-white p-2 rounded-full w-12 h-12" - ><Icon icon="profile" style="mx-auto" /> {$user.username}</button + ><Icon icon="profile" style="mx-auto" /></button > <button class="bg-white p-2 rounded-full w-12 h-12" ><Icon icon="menu" style="mx-auto" /></button |
