1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00

Merge pull request #2706 from danjm/MM-fix-buy-cancel-button

Fixes the cancel button in the buy screen to take the user home.
This commit is contained in:
Thomas Huang 2017-12-14 15:06:53 -05:00 committed by GitHub
commit 453bfd34e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -40,7 +40,7 @@ CoinbaseForm.prototype.render = function () {
}, 'Continue to Coinbase'),
h('button.btn-red', {
onClick: () => props.dispatch(actions.backTobuyView(props.accounts.address)),
onClick: () => props.dispatch(actions.goHome()),
}, 'Cancel'),
]),
])