Browse Source

fix: set the default value using withDefault

pull/7333/head
Pranav C 9 months ago
parent
commit
739caf1476
  1. 2
      packages/nc-gui/components/general/NocoIcon.vue

2
packages/nc-gui/components/general/NocoIcon.vue

@ -6,7 +6,7 @@ interface Props {
animate?: boolean
}
const { size = 90, animate = false } = defineProps<Props>()
const { size, animate } = withDefaults(defineProps<Props>(), { size: 90, animate: false })
const ping = autoResetRef(false, 1000)

Loading…
Cancel
Save