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 | f146009dbac7f5984c26f8578d59ecfb31e07dc5 (patch) | |
| tree | 965d392defa0cd9717371ff52ae2132b80739a78 /src | |
| parent | fedc6bb2b447d04b5b616a425597011c0570f476 (diff) | |
| download | coinos-ui-f146009dbac7f5984c26f8578d59ecfb31e07dc5.tar.gz coinos-ui-f146009dbac7f5984c26f8578d59ecfb31e07dc5.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 |
