We forgot to call onClose for the button ❕
This commit is contained in:
parent
ffda4e858c
commit
090beb6077
|
@ -56,7 +56,7 @@ class StartOverModal extends React.PureComponent {
|
||||||
Reset environment
|
Reset environment
|
||||||
</button>
|
</button>
|
||||||
<button type='button' className='btn btn-success btn-lg' style={{margin: '5px'}}
|
<button type='button' className='btn btn-success btn-lg' style={{margin: '5px'}}
|
||||||
onClick={() => this.setState({showCleanDialog: false})}>
|
onClick={() => {this.props.onClose(); this.setState({showCleanDialog: false})}}>
|
||||||
Cancel
|
Cancel
|
||||||
</button>
|
</button>
|
||||||
</div>)
|
</div>)
|
||||||
|
|
Loading…
Reference in New Issue