aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/Avatar.svelte
diff options
context:
space:
mode:
authorsecondl1ght <[email protected]>2022-10-25 18:01:56 -0600
committersecondl1ght <[email protected]>2022-10-25 18:01:56 -0600
commit075f9186e940945f0aabf54fa53518f6b61c4348 (patch)
tree10a5fa750f2ccb53cff3510ab8fbbce108a35eb6 /src/components/Avatar.svelte
parent0218929657239baf69c4632b34e60163f7c6d808 (diff)
parent0bb827a78c3935c37b8a6675a3d2d1259954f6ce (diff)
downloadcoinos-ui-075f9186e940945f0aabf54fa53518f6b61c4348.tar.gz
coinos-ui-075f9186e940945f0aabf54fa53518f6b61c4348.zip
Merge branch 'master' of github.com:coinos/coinos-ui-v2
Diffstat (limited to 'src/components/Avatar.svelte')
-rw-r--r--src/components/Avatar.svelte3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/components/Avatar.svelte b/src/components/Avatar.svelte
index ed1a499a..c7339bf5 100644
--- a/src/components/Avatar.svelte
+++ b/src/components/Avatar.svelte
@@ -2,7 +2,6 @@
import { colorTheme, tempProfileFiles } from '$lib/store';
import { Icon } from '$comp';
- export let avatarPosition;
export let user;
</script>
@@ -14,7 +13,7 @@
<img
src={$tempProfileFiles && $tempProfileFiles.profile
? $tempProfileFiles.profile
- : `/api/public/${user.username}-profile.png`}
+ : `/api/public/${user.username}-profile.webp`}
class="w-full h-full object-cover object-center overflow-hidden"
alt={user.username}
/>