`switch (type) { case POKEMON_SUBMITTED: const { newPokemon } = payload return state.concat(newPokemon) default: return state }` The state is concatenated, where it should be something like `return [...state, newPokemon]`
switch (type) { case POKEMON_SUBMITTED: const { newPokemon } = payload return state.concat(newPokemon) default: return state }The state is concatenated, where it should be something like
return [...state, newPokemon]