From 0aa0d458e668520ef96ccf7ecb35bf84a585b279 Mon Sep 17 00:00:00 2001
From: trisusilo48 <tri.susilo@altama.co.id>
Date: Mon, 21 Apr 2025 13:05:57 +0700
Subject: fedback renca

---
 src/lib/maps/components/PinPointMap.jsx | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

(limited to 'src/lib/maps/components/PinPointMap.jsx')

diff --git a/src/lib/maps/components/PinPointMap.jsx b/src/lib/maps/components/PinPointMap.jsx
index acff5d67..acd5ab92 100644
--- a/src/lib/maps/components/PinPointMap.jsx
+++ b/src/lib/maps/components/PinPointMap.jsx
@@ -26,7 +26,7 @@ const PinpointLocation = () => {
     libraries: ['places'],
   });
 
-  const { addressMaps, setAddressMaps, selectedPosition, setSelectedPosition, setDetailAddress } =
+  const { addressMaps, setAddressMaps, selectedPosition, setSelectedPosition, setDetailAddress, setPinedMaps } =
     useMaps();
 
   const [tempAddress, setTempAddress] = useState('');
@@ -119,6 +119,7 @@ const PinpointLocation = () => {
     getAddress(tempPosition.lat, tempPosition.lng);
     setSelectedPosition(tempPosition);
     setAddressMaps(tempAddress);
+    setPinedMaps(false)
   };
 
   console.log('set selected position',selectedPosition);
-- 
cgit v1.2.3

