fix(nc-gui): review changes

This commit is contained in:
Ramesh Mane
2025-08-21 07:57:25 +00:00
parent 4c6f396d0e
commit 373126280b
7 changed files with 26 additions and 54 deletions

View File

@@ -6,9 +6,9 @@ interface Props {
iconSize?: OnboardingQuestionType['iconSize']
}
const props = withDefaults(defineProps<Props>(), {})
const props = defineProps<Props>()
const { iconItem, optionIndex, totalOptions, iconSize } = toRefs(props)
const { iconItem } = toRefs(props)
const showIconMapIcon = computed(() => {
return (!iconItem.value.iconType || iconItem.value.iconType === 'iconMap') && iconItem.value.icon
@@ -80,5 +80,3 @@ const iconColors = computed(() => {
<div v-else></div>
</div>
</template>
<style lang="scss" scoped></style>

View File

@@ -6,9 +6,7 @@ interface Props {
iconSize?: OnboardingQuestionType['iconSize']
}
const props = withDefaults(defineProps<Props>(), {})
const { option, iconSize } = toRefs(props)
defineProps<Props>()
</script>
<template>

View File

@@ -6,9 +6,7 @@ interface Props {
iconSize?: OnboardingQuestionType['iconSize']
}
const props = withDefaults(defineProps<Props>(), {})
const { option } = toRefs(props)
defineProps<Props>()
</script>
<template>