aboutsummaryrefslogtreecommitdiffstats
path: root/src/components
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2022-10-06 09:55:17 -0700
committerAdam Soltys <[email protected]>2022-10-06 09:55:17 -0700
commit685b3a49092ebe8c65b24309d16ff9fa3efe635a (patch)
tree4a201b5138f7d30f7cecb8814b8f42c62d4a08b8 /src/components
parenta592f4dff28577e9123a5bcca1e46335028f42c4 (diff)
downloadcoinos-ui-685b3a49092ebe8c65b24309d16ff9fa3efe635a.tar.gz
coinos-ui-685b3a49092ebe8c65b24309d16ff9fa3efe635a.zip
fix avatar
Diffstat (limited to 'src/components')
-rw-r--r--src/components/Avatar.svelte4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/Avatar.svelte b/src/components/Avatar.svelte
index 9b9547da..c2c15fd1 100644
--- a/src/components/Avatar.svelte
+++ b/src/components/Avatar.svelte
@@ -6,10 +6,10 @@
export let user;
</script>
+ <a href={`/${user.username}`}>
<div
class="rounded-full border-4 border-white overflow-hidden w-32 h-32 bg-gradient-to-r {$colorTheme} flex justify-center items-center"
>
- <a href={`/${user.username}`}>
{#if user?.profile}
<img
src={$tempProfileFiles && $tempProfileFiles.profile
@@ -21,5 +21,5 @@
{:else}
<Icon icon="logo-symbol-white" />
{/if}
- </a>
</div>
+ </a>