aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/notice.js
diff options
context:
space:
mode:
Diffstat (limited to 'ui/app/components/notice.js')
-rw-r--r--ui/app/components/notice.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/ui/app/components/notice.js b/ui/app/components/notice.js
index 09d461c7b..9d2e89cb0 100644
--- a/ui/app/components/notice.js
+++ b/ui/app/components/notice.js
@@ -102,11 +102,10 @@ Notice.prototype.render = function () {
}),
]),
- h('button', {
+ h('button.primary', {
disabled,
onClick: () => {
- this.setState({disclaimerDisabled: true})
- onConfirm()
+ this.setState({disclaimerDisabled: true}, () => onConfirm())
},
style: {
marginTop: '18px',