aboutsummaryrefslogtreecommitdiffstats
path: root/src/components
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2024-11-06 15:55:27 -0800
committerAdam Soltys <[email protected]>2024-11-06 15:55:27 -0800
commit265224bcee8c311dc09b60122a76c3e2ea2c521a (patch)
tree32aba549ee9cdb28713604fe324d8f55140689d0 /src/components
parenta3ca0e9817f52dfeec48d2bff02fd3e71d98feb6 (diff)
downloadcoinos-ui-265224bcee8c311dc09b60122a76c3e2ea2c521a.tar.gz
coinos-ui-265224bcee8c311dc09b60122a76c3e2ea2c521a.zip
check for user
Diffstat (limited to 'src/components')
-rw-r--r--src/components/AppHeader.svelte4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/AppHeader.svelte b/src/components/AppHeader.svelte
index 7033f581..5a922792 100644
--- a/src/components/AppHeader.svelte
+++ b/src/components/AppHeader.svelte
@@ -22,11 +22,11 @@
const links = [
{
- href: `/${user.username}`,
+ href: `/${user?.username}`,
icon: "ph:house-bold",
},
{
- href: `/${user.username}/receive`,
+ href: `/${user?.username}/receive`,
icon: "ph:hand-coins-bold",
flip: "horizontal",
},