From a9986cc763d72be3faf03edb4acd6cc8e61f8a5d Mon Sep 17 00:00:00 2001 From: webfussel Date: Fri, 24 May 2024 09:30:40 +0200 Subject: [PATCH] ADD: optimize components --- components/Technology/Technology.vue | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/components/Technology/Technology.vue b/components/Technology/Technology.vue index 8759848..55b0f87 100644 --- a/components/Technology/Technology.vue +++ b/components/Technology/Technology.vue @@ -3,9 +3,9 @@ @@ -18,7 +18,9 @@ type Props = { size?: 'm' | 'l' } -withDefaults(defineProps(), { +const {name} = withDefaults(defineProps(), { size: 'm' }) + +const altText = () => `Icon für ${name}`