Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
  • Loading branch information
susnux authored Jan 20, 2025
1 parent bcf5e95 commit e1c4c5b
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/components/NcBlurHash/NcBlurHash.vue
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ that can be used as a placeholder until the image was fully loaded.
</docs>

<script setup>
import { useResizeObserver } from '@vueuse/core'
import { decode } from 'blurhash'
import { onMounted, ref, watch } from 'vue'
import { logger } from '../../utils/logger.ts'
Expand Down Expand Up @@ -74,9 +73,6 @@ const canvas = ref()
// Draw initial version on mounted
onMounted(drawBlurHash)

// On resize we redraw the BlurHash
useResizeObserver(canvas, drawBlurHash)

// Redraw when hash has changed
watch(() => props.hash, drawBlurHash)

Expand Down

0 comments on commit e1c4c5b

Please sign in to comment.