Fixed switch logic suddenly not being in code anymore.

This commit is contained in:
WildScotsmen 2018-12-11 17:00:18 -05:00
parent 8b2fe49b31
commit bf789b4c73
1 changed files with 2 additions and 0 deletions

View File

@ -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') {