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
commit736fca3f269190e25d81a5420b6a61f34b251b81 (patch)
tree82787cbb1147f7a16195b143eb5d6428b1b24a26 /src
parentaa1f52ff4524b3e25f2a68036be873b014edb691 (diff)
parent91f34578eaf586e1324ac6e932246b99bbd42dcb (diff)
downloadcoinos-ui-736fca3f269190e25d81a5420b6a61f34b251b81.tar.gz
coinos-ui-736fca3f269190e25d81a5420b6a61f34b251b81.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">