examples/lists-and-named-requests/src/action-creators/get-latest-books.js
Function getLatestBooks
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export default function getLatestBooks() {
return function(dispatch) {
dispatch({
type: actionTypes.READ_RESOURCES_PENDING,
resourceType: 'books',