aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/eth-store-warning.js
diff options
context:
space:
mode:
Diffstat (limited to 'ui/app/eth-store-warning.js')
-rw-r--r--ui/app/eth-store-warning.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/app/eth-store-warning.js b/ui/app/eth-store-warning.js
index 4cc5da81c..d77cc0870 100644
--- a/ui/app/eth-store-warning.js
+++ b/ui/app/eth-store-warning.js
@@ -56,7 +56,7 @@ EthStoreWarning.prototype.render = function () {
}, [
h('input', {
type: 'checkbox',
- onChange: this.toggleShowWarning.bind(this, event),
+ onChange: this.toggleShowWarning.bind(this),
}),
h('.warning', {
style: {
@@ -80,7 +80,7 @@ EthStoreWarning.prototype.render = function () {
)
}
-EthStoreWarning.prototype.toggleShowWarning = function (event) {
+EthStoreWarning.prototype.toggleShowWarning = function () {
this.props.dispatch(actions.agreeToEthWarning())
}