Swap buttons.

This commit is contained in:
Paulo Gustavo Veiga 2022-10-25 20:08:31 -07:00
parent 0d2da200d6
commit d9d6e5bcf8

View File

@ -30,11 +30,11 @@ const SaveAndDelete = (props: {
}) => { }) => {
return ( return (
<Box component="span"> <Box component="span">
<Button color="primary" variant="outlined" onClick={props.submitHandler} sx={{ mr: 1 }}> <Button color="primary" variant="contained" onClick={props.submitHandler} sx={{ mr: 1 }}>
<FormattedMessage id="action.accept" defaultMessage="Accept" /> <FormattedMessage id="action.accept" defaultMessage="Accept" />
</Button> </Button>
<Button color="primary" variant="contained" onClick={props.closeModal}> <Button color="primary" variant="outlined" onClick={props.closeModal}>
<FormattedMessage id="action.cancel" defaultMessage="Cancel" /> <FormattedMessage id="action.cancel" defaultMessage="Cancel" />
</Button> </Button>