From aa78140aa3353923058dafe24dc4c99663d978c4 Mon Sep 17 00:00:00 2001 From: Egor Savkin Date: Tue, 9 Jan 2024 14:13:13 +0800 Subject: [PATCH] Fix switches Signed-off-by: Egor Savkin --- static/js/shop/options/components/Switch.jsx | 1 - static/js/shop/options/components/SwitchLine.jsx | 1 - 2 files changed, 2 deletions(-) diff --git a/static/js/shop/options/components/Switch.jsx b/static/js/shop/options/components/Switch.jsx index 64e5d4c..dff8179 100644 --- a/static/js/shop/options/components/Switch.jsx +++ b/static/js/shop/options/components/Switch.jsx @@ -35,7 +35,6 @@ class Switch extends Component { id={key} checked={this.state.checked} onClick={this.handleClick} - onChange={this.handleClick} />