We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2dfce0f commit f962081Copy full SHA for f962081
src/user/dashboard/Community/components/Toggle/ToggleSwitch.js
@@ -21,6 +21,7 @@ function ToggleSwitch(props) {
21
22
let handleClose = () => {
23
console.log('close clicked!')
24
+ setCheck(!checked)
25
setModalShow(false)
26
}
27
@@ -99,4 +100,4 @@ const mapStateToProps = (state) => ({
99
100
error: state.error
101
})
102
-export default connect(mapStateToProps)(withRouter(ToggleSwitch));
103
+export default connect(mapStateToProps)(withRouter(ToggleSwitch));
0 commit comments