We forgot to call onClose for the button

This commit is contained in:
Shay Nehmad 2020-05-27 10:12:32 +03:00
parent ffda4e858c
commit 090beb6077
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ class StartOverModal extends React.PureComponent {
Reset environment
</button>
<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
</button>
</div>)