diff --git a/src/components/LetterDetailPage/LetterDetailContainer/LetterDetailContainer.tsx b/src/components/LetterDetailPage/LetterDetailContainer/LetterDetailContainer.tsx
index 4f198d82..3c5b0a59 100644
--- a/src/components/LetterDetailPage/LetterDetailContainer/LetterDetailContainer.tsx
+++ b/src/components/LetterDetailPage/LetterDetailContainer/LetterDetailContainer.tsx
@@ -36,6 +36,10 @@ export const LetterDetailContainer = () => {
return ;
}
+ if (letterId) {
+ return ;
+ }
+
if (replyLetterId) {
return (
{
);
};
+
+type MapBookmarkDetailLetterProps = {
+ letterId: string;
+};
+const MapBookmarkDetailLetter = ({
+ letterId
+}: MapBookmarkDetailLetterProps) => {
+ const { data } = useGetArchivedLetter({
+ letterId: letterId
+ });
+
+ if (!data) {
+ return (
+
+ 데이터가 존재하지 않습니다.
+
+ );
+ }
+
+ return (
+
+
+
+
+
+
+
+
+ );
+};
diff --git a/src/components/StoragePage/LetterListItem.tsx b/src/components/StoragePage/LetterListItem.tsx
index 0b251505..af835868 100644
--- a/src/components/StoragePage/LetterListItem.tsx
+++ b/src/components/StoragePage/LetterListItem.tsx
@@ -41,7 +41,7 @@ export const LetterListItem = ({
case 'map':
return `/letter/map/${filterType}/${letter.letterId}`;
case 'bookmark':
- return `/letter/map/${filterType}/bookmark/${letter.letterId}`;
+ return `/letter/map/bookmark/${letter.letterId}`;
default:
throw new Error(
`Unsupported letter type: ${selectedLetterType}`