diff --git a/src/features/Pokedex/Pokemon/Pokemon.tsx b/src/features/Pokedex/Pokemon/Pokemon.tsx index d9654ae..4e5b8e3 100644 --- a/src/features/Pokedex/Pokemon/Pokemon.tsx +++ b/src/features/Pokedex/Pokemon/Pokemon.tsx @@ -10,7 +10,7 @@ export interface PokemonProps { types: string[]; } -function formatNumber(num: number) { +export function formatNumber(num: number) { return '#' + num.toString().padStart(3, '0'); }