Browse Source

Revert "fix: set the default value using withDefault"

This reverts commit 739caf1476.
pull/7335/head
Pranav C 11 months ago
parent
commit
cdcdb5db49
  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, animate } = withDefaults(defineProps<Props>(), { size: 90, animate: false })
const { size = 90, animate = false } = defineProps<Props>()
const ping = autoResetRef(false, 1000)

Loading…
Cancel
Save