ui: simplify `onClick()` callbacks in UnsafeOptionsConfirmationModal

This commit is contained in:
Mike Salvatore 2021-02-26 11:08:57 -05:00
parent 2ef81d5688
commit 11c30fec14
1 changed files with 2 additions and 2 deletions

View File

@ -17,14 +17,14 @@ function UnsafeOptionsConfirmationModal(props) {
className='btn btn-success'
size='lg'
style={{margin: '5px'}}
onClick={() => {props.onCancelClick()}}>
onClick={props.onCancelClick}>
Cancel
</Button>
<Button type='button'
className='btn btn-danger'
size='lg'
style={{margin: '5px'}}
onClick={() => {props.onContinueClick()}}>
onClick={props.onContinueClick}>
Submit
</Button>
</div>