Fixed genderRatio in InfoDialog

develop
Jason Zhu 2023-05-18 23:06:03 +10:00
parent bc9ab24c33
commit 8a54245ecb
1 changed files with 1 additions and 1 deletions

View File

@ -99,7 +99,7 @@ export const constructPokemonInfoFromResponses = (
types: fetchedPokemon.types.map(type => type.type.name),
height: fetchedPokemon.height,
weight: fetchedPokemon.weight,
genderRatio: fetchedPokemonSpecies.gender_rate - 1,
genderRatio: fetchedPokemonSpecies.gender_rate,
description: findFirstEnglishFlavorText(
fetchedPokemonSpecies.flavor_text_entries,
),