diff --git a/src/components/Main.js b/src/components/Main.js index b196583..6193cd0 100644 --- a/src/components/Main.js +++ b/src/components/Main.js @@ -150,6 +150,8 @@ class ResponsiveDrawer extends React.Component { handleChange = name => event => { const { cookies } = this.props; + this.setState({ [name]: event.target.checked }); + var newTheme, newName; if (this.state.themeName === 'light') {