src/actions/syncer.js
Function switchToMyAnimeList
has 48 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export function switchToMyAnimeList() {
return (dispatch, getState) => {
const { currentListName } = getState();
const malSyncer = new SyncerFactory({
username: toshoStore.get('myanimelist.username'),
Function switchToHummingbird
has 43 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export function switchToHummingbird() {
return (dispatch, getState) => {
const { currentListName } = getState();
const hbSyncer = new SyncerFactory({
username: toshoStore.get('hummingbird.username'),