refactor(icons): fix typo

Used 'icon' instead of 'Icon'.
This commit is contained in:
2026-08-08 16:13:58 +02:00
parent 4809ab4330
commit 73f7b8d087
+2 -2
View File
@@ -34,14 +34,14 @@ const icons = import.meta.glob('@/assets/icons/*.svg', {
import: 'default' import: 'default'
}); });
const Icon = computed(() => icons[`/src/assets/icons/${props.name}.svg`]); const icon = computed(() => icons[`/src/assets/icons/${props.name}.svg`]);
const size = computed(() => ensureUnit(props.size)); const size = computed(() => ensureUnit(props.size));
</script> </script>
<template> <template>
<div class="icon-container"> <div class="icon-container">
<img :src="Icon" :style="{ height: `${size}`, width: `${size}` }" /> <img :src="icon" :style="{ height: `${size}`, width: `${size}` }" />
</div> </div>
</template> </template>