Try fixing notice screen synchronous state call

feature/default_network_editable
Dan Finlay 7 years ago
parent 6740be109b
commit a1b72e5252
  1. 3
      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',

Loading…
Cancel
Save