Skip to content

Commit

Permalink
Fix the image for evolving a mon with another mon like Mantine with R…
Browse files Browse the repository at this point in the history
…emoraid
  • Loading branch information
AarCon committed Dec 6, 2024
1 parent 35d6b11 commit 6a4f4d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Pokedex2/EvolutionGraph.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ export default function EvolutionGraph({ evolutionTree }) {
const moveType = getTypeName(getMoveProperties(methodParameter, globalState.mode).type);
evoImages.push(getTMImageUrl(moveType));
} else if (evoFunction === EvoConstants.POKEMON_NAME_FUNCTION) {
evoImages.push(`img/pkm/${getPokemonImageFilename(methodParameter, 0)}`);
evoImages.push(`/img/pkm/${getPokemonImageFilename(methodParameter, 0)}`);
} else if (evoFunction === EvoConstants.TYPE_NAME_FUNCTION) {
const moveType = getTypeName(methodParameter);
evoImages.push(getTMImageUrl(moveType));
Expand Down

0 comments on commit 6a4f4d0

Please sign in to comment.