replaced eslint:recommended with prettier

This commit is contained in:
Wyatt Johnson
2018-01-11 20:00:34 -07:00
parent d56c19016a
commit 0abc2ca243
649 changed files with 16235 additions and 13008 deletions
@@ -1,22 +1,22 @@
import {OPEN_MENU, CLOSE_MENU} from './constants';
import { OPEN_MENU, CLOSE_MENU } from './constants';
const initialState = {
open: false
open: false,
};
export default function reducer(state = initialState, action) {
switch (action.type) {
case OPEN_MENU:
return {
...state,
open: true
};
case CLOSE_MENU:
return {
...state,
open: false
};
default :
return state;
case OPEN_MENU:
return {
...state,
open: true,
};
case CLOSE_MENU:
return {
...state,
open: false,
};
default:
return state;
}
}