From cfd93017933df6abd2d8c1c037b99695780d1612 Mon Sep 17 00:00:00 2001 From: Jason Zhu Date: Sun, 4 Jun 2023 12:50:02 +1000 Subject: [PATCH] Remove unnecessary getTypeList initiate() in filterSlice.ts --- src/features/Filters/filterSlice.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/features/Filters/filterSlice.ts b/src/features/Filters/filterSlice.ts index d8fbf56..12e2e6a 100644 --- a/src/features/Filters/filterSlice.ts +++ b/src/features/Filters/filterSlice.ts @@ -9,8 +9,6 @@ import { RegionPokemonRange } from './types/slice'; import { pokeApi } from 'app/services/pokeApi'; import { fetchPokemonsInTheRegion } from 'features/Pokedex/pokedexSlice'; -pokeApi.endpoints.getTypeList.initiate(); // initialize type list fetching - const initialState: FilterState = { regionOptions: [], typeOptions: [],