diff --git a/packages/nc-gui/components/smartsheet/expanded-form/index.vue b/packages/nc-gui/components/smartsheet/expanded-form/index.vue index c87e120c8d..614c28ec4d 100644 --- a/packages/nc-gui/components/smartsheet/expanded-form/index.vue +++ b/packages/nc-gui/components/smartsheet/expanded-form/index.vue @@ -25,7 +25,7 @@ import type { Row } from '~/lib' const props = defineProps() -const emits = defineEmits(['update:modelValue', 'cancel']) +const emits = defineEmits(['update:modelValue', 'cancel', 'next', 'prev']) interface Props { modelValue?: boolean @@ -39,10 +39,6 @@ interface Props { showNextPrevIcons?: boolean } -const props = defineProps() - -const emits = defineEmits(['update:modelValue', 'cancel', 'next', 'prev']) - const row = ref(props.row) const state = toRef(props, 'state')