diff options
| author | secondl1ght <[email protected]> | 2022-08-31 19:02:24 -0400 |
|---|---|---|
| committer | secondl1ght <[email protected]> | 2022-08-31 19:02:24 -0400 |
| commit | 7859b4ce202d8ed4e4f1333d9dff97249d24bd6b (patch) | |
| tree | 9d13150b3fb52b07c65b04a198e070e93e7d4f20 /src | |
| parent | 54e1eaed749febdd87c77262ca63399b0bfe6e39 (diff) | |
| download | coinos-ui-7859b4ce202d8ed4e4f1333d9dff97249d24bd6b.tar.gz coinos-ui-7859b4ce202d8ed4e4f1333d9dff97249d24bd6b.zip | |
fix bug when no address is present
Diffstat (limited to 'src')
| -rw-r--r-- | src/routes/[username]/+page.svelte | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/routes/[username]/+page.svelte b/src/routes/[username]/+page.svelte index a6066424..51940ffd 100644 --- a/src/routes/[username]/+page.svelte +++ b/src/routes/[username]/+page.svelte @@ -43,7 +43,7 @@ <div class="xl:ml-[calc(15vw-48px)] space-y-2 w-full md:w-72"> <h1 class="text-3xl font-bold">{data.username}</h1> - <p class="text-secondary">{$user.address}</p> + <p class="text-secondary">{$user.address ? $user.address : ''}</p> <!-- we need to hook this up |
