Fix: eslint (#1030)

This commit is contained in:
KVOJJJin
2023-08-27 17:06:16 +08:00
committed by GitHub
parent 0796791de5
commit 934def5fcc
4 changed files with 15 additions and 9 deletions

View File

@@ -19,7 +19,7 @@ type NewSegmentModalProps = {
onSave: () => void
}
const NewSegmentModal: FC<NewSegmentModalProps> = memo(({
const NewSegmentModal: FC<NewSegmentModalProps> = ({
isShow,
onCancel,
docForm,
@@ -152,6 +152,6 @@ const NewSegmentModal: FC<NewSegmentModalProps> = memo(({
</div>
</Modal>
)
})
}
export default NewSegmentModal
export default memo(NewSegmentModal)