button batal

This commit is contained in:
enggar_ganteng 2019-01-03 18:55:31 +07:00
parent e7012b3382
commit 19fe63396e

View File

@ -78,7 +78,10 @@ export default class VerifyVouchers extends React.Component {
</div>
<div className="row">
<div style={{display:'flex',justifyContent:'flex-end'}}>
<Button type="danger">Batal</Button>
<Button type="danger" onClick={() => {
this.props.history.goBack()
console.log('batal');
}}>Batal</Button>
<Button type="primary" style={{marginLeft:10}} onClick={() => {
this.props.history.push(LINKS.CHECKOUT_VOUCHERS);
console.log('checkout');