From cf76c139519b8fda880969e151928c203538fd69 Mon Sep 17 00:00:00 2001
From: Miqdad <ahmadmiqdad27@gmail.com>
Date: Sat, 16 Aug 2025 14:31:09 +0700
Subject: <Miqdad> Fix Map

---
 src/lib/maps/components/PinPointMap.jsx | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

(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 f89e6e75..75ab1d59 100644
--- a/src/lib/maps/components/PinPointMap.jsx
+++ b/src/lib/maps/components/PinPointMap.jsx
@@ -64,6 +64,7 @@ const PinpointLocation = ({
     return component ? component.long_name : '';
   };
 
+  // fill from pin point
   const getAddress = async (lat, lng) => {
     try {
       const response = await fetch(
@@ -76,10 +77,10 @@ const PinpointLocation = ({
         const formattedAddress = data.results[0].formatted_address;
 
         const details = {
-          street:
-            getAddressComponent(addressComponents, 'route') +
-            ' ' +
-            getAddressComponent(addressComponents, 'street_number'),
+          // street:
+          //   getAddressComponent(addressComponents, 'route') +
+          //   ' ' +
+          //   getAddressComponent(addressComponents, 'street_number'),
           province: getAddressComponent(
             addressComponents,
             'administrative_area_level_1'
-- 
cgit v1.2.3

