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
+11 -11
View File
@@ -1,18 +1,18 @@
import {OFFTOPIC_TOGGLE_CHECKBOX} from './constants';
import { OFFTOPIC_TOGGLE_CHECKBOX } from './constants';
const initialState = {
checked: false
checked: false,
};
export default function offTopic (state = initialState, action) {
export default function offTopic(state = initialState, action) {
switch (action.type) {
case OFFTOPIC_TOGGLE_CHECKBOX: {
return {
...state,
checked: !state.checked
};
}
default :
return state;
case OFFTOPIC_TOGGLE_CHECKBOX: {
return {
...state,
checked: !state.checked,
};
}
default:
return state;
}
}