diff --git a/src/pages/Map/MapExplorerPage.tsx b/src/pages/Map/MapExplorerPage.tsx index 8e3303b6..28910204 100644 --- a/src/pages/Map/MapExplorerPage.tsx +++ b/src/pages/Map/MapExplorerPage.tsx @@ -81,7 +81,7 @@ export const MapExplorerPage = () => { <> {searchedLocation ? ( @@ -112,7 +112,7 @@ export const MapExplorerPage = () => { <> {searchedLocation ? ( diff --git a/src/router.tsx b/src/router.tsx index cb144fe8..d18b8aaf 100644 --- a/src/router.tsx +++ b/src/router.tsx @@ -160,8 +160,15 @@ export const router = createBrowserRouter([ ), children: [ - { path: 'keyword/reply/create/:letterId', element: }, // 키워드 답장 편지 - { path: 'map/reply/create/:letterId', element: }, // 지도 답장 편지 + { path: 'map/:lat/:lot/create', element: }, + { + path: 'keyword/reply/create/:letterId', + element: + }, // 키워드 답장 편지 + { + path: 'map/reply/create/:letterId', + element: + }, // 지도 답장 편지 { path: 'create', element: }, { path: 'select', element: }, { path: 'success', element: },