Skip to content

Commit

Permalink
Updated dependencies && fixed the GitHub issue (#10)
Browse files Browse the repository at this point in the history
1) A few package.json commands are not working after the major upgrade
2) Fixed the issue #10, by adding a cleanup function
  • Loading branch information
hovsepyan021 committed Sep 6, 2024
1 parent 820a79b commit fa6cff4
Show file tree
Hide file tree
Showing 5 changed files with 2,516 additions and 1,155 deletions.
59 changes: 30 additions & 29 deletions example/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions example/src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ const App = () => {
return geocoder.sendPlaceDetailsRequest(feature);
}

return <div>
return <React.StrictMode><div>
<div className="setting" onChange={handleTypeChange}>
<span className="label">Location type:</span>
<input type="radio" value="country" name="type" /> Country
Expand Down Expand Up @@ -298,10 +298,10 @@ const App = () => {
sendGeocoderRequestFunc={sendGeocoderRequest}
addDetails={true}
sendPlaceDetailsRequestFunc={sendPlaceDetailsRequest}
/>
/>

</GeoapifyContext>
</div>
</div></React.StrictMode>
}

export default App
Loading

0 comments on commit fa6cff4

Please sign in to comment.