Browse Source

fix bug

pull/2/head
wahyuun 1 year ago
parent
commit
c3970bd20d
  1. 4
      src/views/SimproV2/Divisi/DialogForm.js

4
src/views/SimproV2/Divisi/DialogForm.js

@ -59,13 +59,15 @@ const DialogForm = ({ openDialog, closeDialog, toggleDialog, typeDialog, dataEdi
setId(0) setId(0)
setDescription('') setDescription('')
setName('') setName('')
setParent(null)
} }
} }
const handleCancel = () => { const handleCancel = () => {
closeDialog('cancel', 'none') closeDialog('cancel', 'none')
setId(0) setId(0)
setDescription('') setDescription('')
setName('') setName('')
setParent(null)
} }
const renderForm = () => { const renderForm = () => {

Loading…
Cancel
Save