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
1 changed files with 4 additions and 4 deletions

View File

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