From ecd6b5f7f24a5bc7d557542e2b4c2abe1aa6bdad Mon Sep 17 00:00:00 2001 From: zojgame Date: Tue, 23 Apr 2024 16:25:16 +0500 Subject: [PATCH] map points fix --- src/components/map/Map.tsx | 4 +++- src/components/map/Marker.tsx | 44 +++++++++++++++++++++++------------ 2 files changed, 32 insertions(+), 16 deletions(-) diff --git a/src/components/map/Map.tsx b/src/components/map/Map.tsx index 37d15ac..ee1f9bd 100644 --- a/src/components/map/Map.tsx +++ b/src/components/map/Map.tsx @@ -34,7 +34,9 @@ const Map = () => { // }} > { }; return ( -
+
{currentMarker && ( - 1 + 1 )}
@@ -41,12 +38,29 @@ const Marker = (props: MarkerComponentProps) => {
-
- 1 +
+
+ 1 +
@@ -55,7 +69,7 @@ const Marker = (props: MarkerComponentProps) => {
{currentMarker && ( - 1 + 1 )}