Skip to content

Commit

Permalink
fix: new variable just4u
Browse files Browse the repository at this point in the history
  • Loading branch information
Mygod committed May 5, 2024
1 parent 0634d89 commit 6fdc152
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/features/gym/GymPopup.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -644,7 +644,7 @@ const ExtraGymInfo = ({
)

const numFormatter = new Intl.NumberFormat(i18n.language)
guarding_pokemon_display = guarding_pokemon_display || {}
const gpd = guarding_pokemon_display || {}

return (
<Grid container alignItems="center" justifyContent="center">
Expand All @@ -653,12 +653,12 @@ const ExtraGymInfo = ({
<TextWithIcon
src={Icons.getPokemon(
guarding_pokemon_id,
guarding_pokemon_display.form,
guarding_pokemon_display.temp_evolution,
guarding_pokemon_display.gender,
guarding_pokemon_display.costume,
guarding_pokemon_display.alignment,
guarding_pokemon_display.shiny,
gpd.form,
gpd.temp_evolution,
gpd.gender,
gpd.costume,
gpd.alignment,
gpd.shiny,
)}
>
{t(`poke_${guarding_pokemon_id}`)}
Expand Down

0 comments on commit 6fdc152

Please sign in to comment.