fix: make isHydrated export .value always

This commit is contained in:
Daniel Roe 2022-12-22 02:27:16 +00:00
parent 9800697670
commit f1b0befd80
No known key found for this signature in database
GPG key ID: 22D5008E4F5D9B55
4 changed files with 7 additions and 7 deletions

View file

@ -27,11 +27,11 @@ const description = ref(props.attachment.description ?? '')
v-if="removable"
aria-label="Remove attachment"
hover:bg="gray/40" transition-100 p-1 rounded-5 cursor-pointer
:class="[isHydrated && isSmallScreen ? '' : 'op-0 group-hover:op-100hover:']"
:class="[isHydrated.value && isSmallScreen ? '' : 'op-0 group-hover:op-100hover:']"
mix-blend-difference
@click="$emit('remove')"
>
<div i-ri:close-line text-3 :class="[isHydrated && isSmallScreen ? 'text-6' : 'text-3']" />
<div i-ri:close-line text-3 :class="[isHydrated.value && isSmallScreen ? 'text-6' : 'text-3']" />
</div>
</div>
<div absolute right-2 bottom-2>