This commit is contained in:
vv181 2019-07-18 06:09:08 +07:00
parent cce3025370
commit 47cf1db0d1

View file

@ -26,8 +26,6 @@ class ModalConfirmTransaction extends React.PureComponent<Props> {
title={__('Send LBC')}
contentLabel={__('Confirm Transaction')}
type="custom"
// confirmButtonLabel={__('Send')}
// onConfirmed={() => this.onConfirmed()}
onAborted={closeModal}
>
<Form className="card__content" onSubmit={() => this.onConfirmed()}>
@ -37,7 +35,7 @@ class ModalConfirmTransaction extends React.PureComponent<Props> {
<blockquote>{address}</blockquote>
<p>{__('Once the transaction is sent, it cannot be reversed.')}</p>
<div className="card__actions">
<Button autoFocus button="primary" label={__('Send')} onClick={() => this.onConfirmed()} />
<Button type="submit" button="primary" label={__('Send')} onClick={() => this.onConfirmed()} />
<Button button="link" label={__('Cancel')} onClick={closeModal} />
</div>
</Form>