aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ui/app/components/notice.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/ui/app/components/notice.js b/ui/app/components/notice.js
index 23ded9d5d..8a953a6b5 100644
--- a/ui/app/components/notice.js
+++ b/ui/app/components/notice.js
@@ -99,7 +99,10 @@ Notice.prototype.render = function () {
h('button', {
disabled,
- onClick: onConfirm,
+ onClick: () => {
+ this.setState({disclaimerDisabled: true})
+ onConfirm()
+ },
style: {
marginTop: '18px',
},