src/modules/auth/actions/update-assets.js
Function updateAssets
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export function updateAssets(callback = logError) {
return (dispatch, getState) => {
const { loginAccount, universe } = getState();
const universeID = universe.id || UNIVERSE_ID;
const balances = { eth: undefined, rep: undefined };