Showing 1 of 3 total issues
Function authReducer
has 43 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const authReducer = (state = defaultState, action) => {
let newState = Object.assign({}, state, {
authenticated: auth.isAuthenticated(),
token: auth.getToken(),
updated: true