Skip to content

Commit

Permalink
bug fix and version bump
Browse files Browse the repository at this point in the history
- Fix a bug if a webhook record isn't found
- Version bump
  • Loading branch information
TurtIeSocks committed Sep 5, 2022
1 parent 8c1cb36 commit 576f331
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "reactmap",
"version": "1.3.3",
"version": "1.3.4",
"description": "React based frontend map.",
"main": "ReactMap.mjs",
"author": "TurtIeSocks <[email protected]>",
Expand Down
2 changes: 1 addition & 1 deletion src/components/WebhookQuery.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export default function WebhookQuery({
return data ? (
<Container
location={
data[`${lowercase}Single`]
data[`${lowercase}Single`]?.lat && data[`${lowercase}Single`]?.lon
? [data[`${lowercase}Single`].lat, data[`${lowercase}Single`].lon]
: location
}
Expand Down

0 comments on commit 576f331

Please sign in to comment.