Prevented having both drawers in side bar open at the same time.

This commit is contained in:
WildScotsmen 2018-11-30 17:13:58 -05:00
parent a06f991888
commit e6d152e1b6
1 changed files with 2 additions and 2 deletions

View File

@ -96,11 +96,11 @@ class ResponsiveDrawer extends React.Component {
} }
handleClick = () => { handleClick = () => {
this.setState(state => ({ open: !state.open })); this.setState(state => ({ open: !state.open, open2: false }));
} }
handleClick2 = () => { handleClick2 = () => {
this.setState(state => ({ open2: !state.open2 })); this.setState(state => ({ open2: !state.open2, open: false }));
} }
nav = (text) => { nav = (text) => {