public/reducers/auth.js
Function authReducer
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export default function authReducer(state = auth, action) {
switch (action.type) {
case TYPES.LOGIN_REQUEST:
return Object.assign({}, state, { saving: true });