Move PokemonCard component into component directory

develop
Jason Zhu 2023-05-07 19:50:50 +10:00
parent ce3d3ce0d7
commit 92d3428c84
10 changed files with 3 additions and 3 deletions

View File

@ -28,7 +28,7 @@ html {
@font-face {
font-family: 'Press Start 2P';
src: url('../../../assets/PressStart2P-Regular.ttf') format('truetype');
src: url('../../assets/PressStart2P-Regular.ttf') format('truetype');
}
.thumbnail__container {

View File

Before

Width:  |  Height:  |  Size: 56 KiB

After

Width:  |  Height:  |  Size: 56 KiB

View File

@ -1,5 +1,5 @@
import React from 'react';
import PokemonCard, { PokemonCardProps } from './PokemonCard';
import PokemonCard, { PokemonCardProps } from 'components/PokemonCard';
import Filters from './Filters';
import Loading from 'components/Loading';

View File

@ -1,5 +1,5 @@
import { PokemonResponseData } from './api';
import { PokemonCardProps } from '../PokemonCard';
import { PokemonCardProps } from 'components/PokemonCard';
export type PokedexState = {
regionOptions: RegionPokemonRange[];