aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorsecondl1ght <[email protected]>2022-09-25 00:39:15 -0600
committersecondl1ght <[email protected]>2022-09-25 00:39:15 -0600
commitd60f3c19ee35d1765125a0edad0669a16d833661 (patch)
tree82787cbb1147f7a16195b143eb5d6428b1b24a26 /src
parent2f597b332ab02464ae23cb1655c574f54d37d5b0 (diff)
parente9c2d023137a07088a080f88a61cd49e418eb7ae (diff)
downloadcoinos-ui-d60f3c19ee35d1765125a0edad0669a16d833661.tar.gz
coinos-ui-d60f3c19ee35d1765125a0edad0669a16d833661.zip
Merge branch 'master' of github.com:coinos/coinos-ui-v2
Diffstat (limited to 'src')
-rw-r--r--src/routes/[username]/dashboard/+page.svelte5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/routes/[username]/dashboard/+page.svelte b/src/routes/[username]/dashboard/+page.svelte
index e20cbd50..22e480f3 100644
--- a/src/routes/[username]/dashboard/+page.svelte
+++ b/src/routes/[username]/dashboard/+page.svelte
@@ -46,7 +46,10 @@
<div class="text-center mx-auto lg:text-left lg:mx-0 lg:ml-[calc(15vw-64px)] mt-20 w-full md:w-72">
<h2 class="text-3xl font-semibold">{user.username}</h2>
- <span class="text-secondary">{user.address}</span>
+
+ {#if user.address}
+ <span class="text-secondary">{user.address}</span>
+ {/if}
</div>
<div class="px-3 md:px-0 flex justify-center items-center mt-10 lg:mt-0 mb-20">