From 1c279f4efbc20576412d2b955c94ca958de5df88 Mon Sep 17 00:00:00 2001 From: Jason Zhu Date: Thu, 18 May 2023 23:11:20 +1000 Subject: [PATCH] Fix relative import --- src/components/Header.tsx | 2 +- src/features/Pokedex/Pokedex.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/Header.tsx b/src/components/Header.tsx index 9eb1a37..4bf3f24 100644 --- a/src/components/Header.tsx +++ b/src/components/Header.tsx @@ -1,5 +1,5 @@ import React from 'react'; -import logo from '../assets/poke_logo.png'; +import logo from 'assets/poke_logo.png'; const Header = () => { return ( diff --git a/src/features/Pokedex/Pokedex.tsx b/src/features/Pokedex/Pokedex.tsx index 274f74d..4131ae3 100644 --- a/src/features/Pokedex/Pokedex.tsx +++ b/src/features/Pokedex/Pokedex.tsx @@ -4,7 +4,7 @@ import Loading from 'components/Loading'; import { useAppSelector, useAppDispatch } from 'app/hooks'; import { fetchPokemonsInTheRegion } from './pokedexSlice'; -import { fetchSelectedPokemonInfo } from '../InfoDialog/infoDialogSlice'; +import { fetchSelectedPokemonInfo } from 'features/InfoDialog/infoDialogSlice'; export const filterPokemonCardsByType = ( pokemonList: PokemonCardProps[],