Skip to content

Commit c5f884a

Browse files
committed
callback removed
1 parent c54c5c5 commit c5f884a

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

webapp/components/definition/populations/NetPyNEPopulation.js

+2-3
Original file line numberDiff line numberDiff line change
@@ -560,12 +560,11 @@ netpyne_geppetto.netParams.popParams['${this.props.name}']['pulses'].pop(${index
560560
}
561561

562562
resetError () {
563+
const { updateCards } = this.props;
563564
this.setState({
564565
errorMessage: undefined,
565566
errorDetails: undefined,
566-
}, () => {
567-
this.props.updateCards();
568-
});
567+
}, updateCards());
569568
}
570569

571570
render () {

0 commit comments

Comments
 (0)