website/src/reducers/requests.ts
Function requests
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export default function requests(state: Requests = {}, action: FSA): Requests {
const { meta } = action;
// requestStatus is a field specially designed and owned by api request actions
if (!meta || !meta.requestStatus || !meta[API_REQUEST]) {