aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorDan Finlay <dan@danfinlay.com>2018-02-21 05:51:06 +0800
committerDan Finlay <dan@danfinlay.com>2018-02-21 05:51:06 +0800
commita1b72e5252e15113c98180194cfa7f1640bde08e (patch)
treedc48b1cf0bf7f7609ab19d68cbba76b6735cc64a /ui
parent6740be109be1b545e1efa327901c6ac4a46b8bf0 (diff)
downloadtangerine-wallet-browser-a1b72e5252e15113c98180194cfa7f1640bde08e.tar
tangerine-wallet-browser-a1b72e5252e15113c98180194cfa7f1640bde08e.tar.gz
tangerine-wallet-browser-a1b72e5252e15113c98180194cfa7f1640bde08e.tar.bz2
tangerine-wallet-browser-a1b72e5252e15113c98180194cfa7f1640bde08e.tar.lz
tangerine-wallet-browser-a1b72e5252e15113c98180194cfa7f1640bde08e.tar.xz
tangerine-wallet-browser-a1b72e5252e15113c98180194cfa7f1640bde08e.tar.zst
tangerine-wallet-browser-a1b72e5252e15113c98180194cfa7f1640bde08e.zip
Try fixing notice screen synchronous state call
Diffstat (limited to 'ui')
-rw-r--r--ui/app/components/notice.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/ui/app/components/notice.js b/ui/app/components/notice.js
index 941ac33e6..9d2e89cb0 100644
--- a/ui/app/components/notice.js
+++ b/ui/app/components/notice.js
@@ -105,8 +105,7 @@ Notice.prototype.render = function () {
h('button.primary', {
disabled,
onClick: () => {
- this.setState({disclaimerDisabled: true})
- onConfirm()
+ this.setState({disclaimerDisabled: true}, () => onConfirm())
},
style: {
marginTop: '18px',