Skip to content

Commit

Permalink
fix: force popup open on click
Browse files Browse the repository at this point in the history
  • Loading branch information
TurtIeSocks committed Dec 31, 2023
1 parent f5b6967 commit 7c9f045
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/services/desktopNotification.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ export function desktopNotifications(key, title, category, options) {
}
if (lat && lon) {
const { map } = useStatic.getState()
useStatic.setState({ manualParams: { category, id: key } })
map.flyTo([lat, lon], 16)
}
notif.close()
Expand Down

0 comments on commit 7c9f045

Please sign in to comment.