Fix relative import

This commit is contained in:
Jason Zhu 2023-05-18 23:11:20 +10:00
parent 8a54245ecb
commit 1c279f4efb
2 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
import React from 'react'; import React from 'react';
import logo from '../assets/poke_logo.png'; import logo from 'assets/poke_logo.png';
const Header = () => { const Header = () => {
return ( return (

View File

@ -4,7 +4,7 @@ import Loading from 'components/Loading';
import { useAppSelector, useAppDispatch } from 'app/hooks'; import { useAppSelector, useAppDispatch } from 'app/hooks';
import { fetchPokemonsInTheRegion } from './pokedexSlice'; import { fetchPokemonsInTheRegion } from './pokedexSlice';
import { fetchSelectedPokemonInfo } from '../InfoDialog/infoDialogSlice'; import { fetchSelectedPokemonInfo } from 'features/InfoDialog/infoDialogSlice';
export const filterPokemonCardsByType = ( export const filterPokemonCardsByType = (
pokemonList: PokemonCardProps[], pokemonList: PokemonCardProps[],