diff --git a/src/features/Pokedex/Pokedex.tsx b/src/features/Pokedex/Pokedex.tsx
index ac36958..ea25254 100644
--- a/src/features/Pokedex/Pokedex.tsx
+++ b/src/features/Pokedex/Pokedex.tsx
@@ -1,18 +1,19 @@
import React from 'react';
import Pokemon from './Pokemon';
import Filters from './Filters';
-import { useGetPokemonListQuery } from './pokedexApi';
+import { useGetRegionListQuery, useGetTypeListQuery } from './pokedexApi';
import Loading from 'components/Loading';
import charizard from 'features/Pokedex/Pokemon/assets/stories/charizard.svg';
const Pokedex = () => {
- const { data, error, isLoading } = useGetPokemonListQuery();
+ const { isLoading: isLoadingRegionList } = useGetRegionListQuery();
+ const { isLoading: isLoadingTypeList } = useGetTypeListQuery();
return (
<>
- {isLoading ? (
+ {isLoadingRegionList && isLoadingTypeList ? (
) : (