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', {
|
h('button.primary', {
|
||||||
disabled,
|
disabled,
|
||||||
onClick: () => {
|
onClick: () => {
|
||||||
this.setState({disclaimerDisabled: true})
|
this.setState({disclaimerDisabled: true}, () => onConfirm())
|
||||||
onConfirm()
|
|
||||||
},
|
},
|
||||||
style: {
|
style: {
|
||||||
marginTop: '18px',
|
marginTop: '18px',
|
||||||
|
Loading…
Reference in New Issue
Block a user