Added missing semicolons to class properties
This commit is contained in:
parent
4c50952131
commit
9e8bdb18b9
@ -10,26 +10,26 @@ export default class AppHeader extends React.Component {
|
|||||||
|
|
||||||
state = {
|
state = {
|
||||||
createMenuActive: false
|
createMenuActive: false
|
||||||
}
|
};
|
||||||
|
|
||||||
handleCreatePostClick = collectionName => {
|
handleCreatePostClick = collectionName => {
|
||||||
const { onCreateEntryClick } = this.props;
|
const { onCreateEntryClick } = this.props;
|
||||||
if (onCreateEntryClick) {
|
if (onCreateEntryClick) {
|
||||||
onCreateEntryClick(collectionName);
|
onCreateEntryClick(collectionName);
|
||||||
}
|
}
|
||||||
}
|
};
|
||||||
|
|
||||||
handleCreateButtonClick = () => {
|
handleCreateButtonClick = () => {
|
||||||
this.setState({
|
this.setState({
|
||||||
createMenuActive: true
|
createMenuActive: true
|
||||||
});
|
});
|
||||||
}
|
};
|
||||||
|
|
||||||
handleCreateMenuHide = () => {
|
handleCreateMenuHide = () => {
|
||||||
this.setState({
|
this.setState({
|
||||||
createMenuActive: false
|
createMenuActive: false
|
||||||
});
|
});
|
||||||
}
|
};
|
||||||
|
|
||||||
render() {
|
render() {
|
||||||
const {
|
const {
|
||||||
|
@ -21,7 +21,7 @@ class App extends React.Component {
|
|||||||
|
|
||||||
state = {
|
state = {
|
||||||
navDrawerIsVisible: false
|
navDrawerIsVisible: false
|
||||||
}
|
};
|
||||||
|
|
||||||
componentDidMount() {
|
componentDidMount() {
|
||||||
this.props.dispatch(loadConfig());
|
this.props.dispatch(loadConfig());
|
||||||
@ -100,7 +100,7 @@ class App extends React.Component {
|
|||||||
this.setState({
|
this.setState({
|
||||||
navDrawerIsVisible: !this.state.navDrawerIsVisible
|
navDrawerIsVisible: !this.state.navDrawerIsVisible
|
||||||
});
|
});
|
||||||
}
|
};
|
||||||
|
|
||||||
render() {
|
render() {
|
||||||
const { navDrawerIsVisible } = this.state;
|
const { navDrawerIsVisible } = this.state;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user