Skip to content

Commit

Permalink
fix: no pokemon icon marker if it is not available
Browse files Browse the repository at this point in the history
  • Loading branch information
Mygod committed Nov 18, 2024
1 parent 122f7ad commit be85da2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/features/station/useStationMarker.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export function useStationMarker({
}, basicEqualFn)
const [stationMod, battleMod] = Icons.getModifiers('station', 'dynamax')
const opacity = useOpacity('stations')(end_time)
const isActive = start_time < Date.now() / 1000
const isActive = !!battle_pokemon_id && start_time < Date.now() / 1000

return divIcon({
popupAnchor: [
Expand Down

0 comments on commit be85da2

Please sign in to comment.