src/actions/config.js
Function load
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export function load() {
return (dispatch, getState) => {
var state = getState().config
if (state.config.length > 0 && state.loaded === false) {
var configUrl = state.config[0]