packages/app/app/actions/importfavs.ts
Function fetchAllFmFavorites
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export function fetchAllFmFavorites() {
const storage = store.get('lastFm');
if (storage) {
return async dispatch => {
dispatch({ type: ImportFavs.LASTFM_FAV_IMPORT_START });