mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Try fixing notice screen synchronous state call
This commit is contained in:
parent
6740be109b
commit
a1b72e5252
@ -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…
Reference in New Issue
Block a user