Remove unnecessary getTypeList initiate() in filterSlice.ts
parent
3996e09308
commit
cfd9301793
|
@ -9,8 +9,6 @@ import { RegionPokemonRange } from './types/slice';
|
||||||
import { pokeApi } from 'app/services/pokeApi';
|
import { pokeApi } from 'app/services/pokeApi';
|
||||||
import { fetchPokemonsInTheRegion } from 'features/Pokedex/pokedexSlice';
|
import { fetchPokemonsInTheRegion } from 'features/Pokedex/pokedexSlice';
|
||||||
|
|
||||||
pokeApi.endpoints.getTypeList.initiate(); // initialize type list fetching
|
|
||||||
|
|
||||||
const initialState: FilterState = {
|
const initialState: FilterState = {
|
||||||
regionOptions: [],
|
regionOptions: [],
|
||||||
typeOptions: [],
|
typeOptions: [],
|
||||||
|
|
Loading…
Reference in New Issue