Added missing semicolons to class properties

This commit is contained in:
Andrey Okonetchnikov 2016-10-03 16:37:11 +02:00
parent 4c50952131
commit 9e8bdb18b9
2 changed files with 6 additions and 6 deletions

View File

@ -10,26 +10,26 @@ export default class AppHeader extends React.Component {
state = {
createMenuActive: false
}
};
handleCreatePostClick = collectionName => {
const { onCreateEntryClick } = this.props;
if (onCreateEntryClick) {
onCreateEntryClick(collectionName);
}
}
};
handleCreateButtonClick = () => {
this.setState({
createMenuActive: true
});
}
};
handleCreateMenuHide = () => {
this.setState({
createMenuActive: false
});
}
};
render() {
const {

View File

@ -21,7 +21,7 @@ class App extends React.Component {
state = {
navDrawerIsVisible: false
}
};
componentDidMount() {
this.props.dispatch(loadConfig());
@ -100,7 +100,7 @@ class App extends React.Component {
this.setState({
navDrawerIsVisible: !this.state.navDrawerIsVisible
});
}
};
render() {
const { navDrawerIsVisible } = this.state;