Skip to content

Commit

Permalink
handle cors error message
Browse files Browse the repository at this point in the history
  • Loading branch information
nicokant committed Dec 21, 2023
1 parent f3c484a commit 0a068b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Map.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ export default function Map() {
return (
<div>
<h2>An error occurred</h2>
<p>{error.info.message}</p>
<p>{error.info ? error.info.message : error.message}</p>
</div>
)
}
Expand Down

0 comments on commit 0a068b0

Please sign in to comment.