diff options
author | Dan Finlay <dan@danfinlay.com> | 2018-02-21 05:51:06 +0800 |
---|---|---|
committer | Dan Finlay <dan@danfinlay.com> | 2018-02-21 05:51:06 +0800 |
commit | a1b72e5252e15113c98180194cfa7f1640bde08e (patch) | |
tree | dc48b1cf0bf7f7609ab19d68cbba76b6735cc64a /ui | |
parent | 6740be109be1b545e1efa327901c6ac4a46b8bf0 (diff) | |
download | tangerine-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.js | 3 |
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', |