Commit d4565c97 authored by muhammad ridwan's avatar muhammad ridwan

handleloading v2

parent 0a2b8cf5
...@@ -274,7 +274,6 @@ export default class CreateCarfmDoc extends Component { ...@@ -274,7 +274,6 @@ export default class CreateCarfmDoc extends Component {
this.props.createDocument(this.state.formData, ) this.props.createDocument(this.state.formData, )
}) })
} }
this.props.handleLoading(0)
} }
deleteFile(e) { deleteFile(e) {
...@@ -472,6 +471,8 @@ export default class CreateCarfmDoc extends Component { ...@@ -472,6 +471,8 @@ export default class CreateCarfmDoc extends Component {
this.validasi() this.validasi()
console.log("vlidasi " + this.validasi()); console.log("vlidasi " + this.validasi());
}, 100) }, 100)
this.props.handleLoading(0);
} }
} }
> >
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment