From b8550eed9a3a57cc410b188b50d6b63f1ff92660 Mon Sep 17 00:00:00 2001 From: Spythere Date: Thu, 1 Aug 2024 19:22:54 +0200 Subject: [PATCH] chore: cleanup --- src/components/Global/VehicleThumbnail.vue | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/components/Global/VehicleThumbnail.vue b/src/components/Global/VehicleThumbnail.vue index 3b33218..43dcd0e 100644 --- a/src/components/Global/VehicleThumbnail.vue +++ b/src/components/Global/VehicleThumbnail.vue @@ -27,7 +27,6 @@ const props = defineProps({ const imgRef = ref(null) as Ref; -// const imgState = ref('loading') as Ref<'loading' | 'loaded' | 'error'>; const imgStatus = ref('loading'); function onImageError(event: Event) { @@ -35,7 +34,6 @@ function onImageError(event: Event) { (event.target as HTMLImageElement).src = `/images/${props.fallbackName}.png`; imgStatus.value = 'error'; - // imgState.value = 'error'; } function onImageLoad() {