mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Reset disabled state for confirm button after every notice.
This commit is contained in:
parent
8726ece16a
commit
61a6203808
@ -99,7 +99,10 @@ Notice.prototype.render = function () {
|
|||||||
|
|
||||||
h('button', {
|
h('button', {
|
||||||
disabled,
|
disabled,
|
||||||
onClick: onConfirm,
|
onClick: () => {
|
||||||
|
this.setState({disclaimerDisabled: true})
|
||||||
|
onConfirm()
|
||||||
|
},
|
||||||
style: {
|
style: {
|
||||||
marginTop: '18px',
|
marginTop: '18px',
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user