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

Fix confirm Add Token button order

This commit is contained in:
Alexander Tseung 2018-01-12 16:41:29 -08:00 committed by Chi Kei Chan
parent dce6dcf437
commit b42baacdf4

View File

@ -295,12 +295,12 @@ AddTokenScreen.prototype.renderConfirmation = function () {
]), ]),
]), ]),
h('div.add-token__buttons', [ h('div.add-token__buttons', [
h('button.btn-secondary', { h('button.btn-cancel.add-token__button', {
onClick: () => addTokens(tokens).then(goHome),
}, 'Add Tokens'),
h('button.btn-tertiary', {
onClick: () => this.setState({ isShowingConfirmation: false }), onClick: () => this.setState({ isShowingConfirmation: false }),
}, 'Back'), }, 'Back'),
h('button.btn-clear.add-token__button', {
onClick: () => addTokens(tokens).then(goHome),
}, 'Add Tokens'),
]), ]),
]) ])
) )