diff --git a/src/components/AvatarSpace.vue b/src/components/AvatarSpace.vue index ed32f9cd398b..e5545367b067 100644 --- a/src/components/AvatarSpace.vue +++ b/src/components/AvatarSpace.vue @@ -13,6 +13,8 @@ const props = withDefaults( } ); +const { env } = useApp(); + const avatarHash = computed(() => { if (!props.space?.avatar) return ''; const hash = sha256(props.space.avatar).slice(0, 16); @@ -24,8 +26,8 @@ const avatarHash = computed(() => {