diff --git a/sandbox/components/SandboxIcon.vue b/sandbox/components/SandboxIcon.vue index db1d382c..50371d4c 100644 --- a/sandbox/components/SandboxIcon.vue +++ b/sandbox/components/SandboxIcon.vue @@ -19,7 +19,7 @@ const props = defineProps({ }, }) -const iconName = computed((): string => props.icon?.__name || '') +const iconName = computed((): string => String(props.icon?.__name || '').replace(/icon/i, ''))