diff --git a/public/CloseBtn.svg b/public/CloseBtn.svg
new file mode 100644
index 0000000..4bba680
--- /dev/null
+++ b/public/CloseBtn.svg
@@ -0,0 +1,16 @@
+
diff --git a/src/components/map/UseMap.tsx b/src/components/map/UseMap.tsx
index 72b371c..6986ae6 100644
--- a/src/components/map/UseMap.tsx
+++ b/src/components/map/UseMap.tsx
@@ -244,25 +244,24 @@ const UseMap: React.FC = () => {
}
};
- const handleCurrentLocationTextClick = (e: React.MouseEvent) => {
+ const handleCurrentLocationTextClick = (e: React.MouseEvent) => {
e.stopPropagation();
setShowMessage(false);
- const button = document.getElementById('current-location-text');
- if (button) {
- button.click();
- }
};
+
return (
{showMessage && (
<>
-
+
더 정확한 접속위치를 확인해보세요!
-
+
+
+
-
+
>
)}
setShowSearchResults(true)} onChange={handleSearchQueryChange} />
@@ -290,7 +289,7 @@ const UseMap: React.FC = () => {
onMouseLeave={() => setImageSrc('/map/MapLocation.png')}
onClick={handleCurrentLocationClick}
>
-
+
{loading && (