Fixed genderRatio in InfoDialog
parent
bc9ab24c33
commit
8a54245ecb
|
@ -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,
|
||||
),
|
||||
|
|
Loading…
Reference in New Issue