Skip to content

Commit

Permalink
~Map~LazyMap
Browse files Browse the repository at this point in the history
Function name should match component name.

Co-authored-by: Kipruto <[email protected]>
  • Loading branch information
kilemensi and kelvinkipruto authored Aug 1, 2024
1 parent c8cc43f commit 28b8a8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/hurumap-next/src/Map/LazyMap.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import "leaflet/dist/leaflet.css";

// TODO(kilemensi): We can't use styled and MapContainer because MapContainer
// is a dynamic component i.e. needs window to exist
const LazyMap = React.forwardRef(function Map(props, ref) {
const LazyMap = React.forwardRef(function LazyMap(props, ref) {
const {
center,
geography,
Expand Down

0 comments on commit 28b8a8c

Please sign in to comment.