Fixed genderRatio in InfoDialog
parent
bc9ab24c33
commit
8a54245ecb
|
@ -99,7 +99,7 @@ export const constructPokemonInfoFromResponses = (
|
||||||
types: fetchedPokemon.types.map(type => type.type.name),
|
types: fetchedPokemon.types.map(type => type.type.name),
|
||||||
height: fetchedPokemon.height,
|
height: fetchedPokemon.height,
|
||||||
weight: fetchedPokemon.weight,
|
weight: fetchedPokemon.weight,
|
||||||
genderRatio: fetchedPokemonSpecies.gender_rate - 1,
|
genderRatio: fetchedPokemonSpecies.gender_rate,
|
||||||
description: findFirstEnglishFlavorText(
|
description: findFirstEnglishFlavorText(
|
||||||
fetchedPokemonSpecies.flavor_text_entries,
|
fetchedPokemonSpecies.flavor_text_entries,
|
||||||
),
|
),
|
||||||
|
|
Loading…
Reference in New Issue