Remove unnecessary getTypeList initiate() in filterSlice.ts

graphql
Jason Zhu 2023-06-04 12:50:02 +10:00
parent 3996e09308
commit cfd9301793
1 changed files with 0 additions and 2 deletions

View File

@ -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: [],