Skip to content

Commit

Permalink
Memoize cluster components
Browse files Browse the repository at this point in the history
  • Loading branch information
YoussefHenna committed Oct 17, 2023
1 parent bd20b3c commit 653cd0f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -91,4 +91,4 @@ const MapMarkerCluster: React.FC<React.PropsWithChildren> = ({
);
};

export default MapMarkerCluster;
export default React.memo(MapMarkerCluster);

0 comments on commit 653cd0f

Please sign in to comment.