Design comparison
SolutionDesign
Solution retrospective
I did everything but my map isn't working correctly if someone could help if would be happy!
Community feedback
- @MajinBakarPosted over 2 years ago
<Map /> props are immutable, you can't pass the state (lat & lng) directly. You must create a child component of <MapContainer/> and use useMap() and panTo().
Marked as helpful0
Please log in to post a comment
Log in with GitHubJoin our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord