diff --git a/src/components/epigram/EditEpigram.tsx b/src/components/epigram/EditEpigram.tsx index 84865223..1b7e5f1a 100644 --- a/src/components/epigram/EditEpigram.tsx +++ b/src/components/epigram/EditEpigram.tsx @@ -115,7 +115,7 @@ function EditEpigram({ epigram }: EditEpigramProps) { const handleAlertClose = () => { setIsAlertOpen(false); if (alertContent.title === '수정 완료') { - router.push(`/epigram/${epigram.id}`); + router.push(`/epigrams/${epigram.id}`); } }; @@ -123,7 +123,7 @@ function EditEpigram({ epigram }: EditEpigramProps) { <>
{ - router.push(`/epigram/${epigram}/edit`); + router.push(`/epigrams/${epigram}/edit`); }; const handleDeleteClick = () => { diff --git a/src/pageLayout/Epigram/AddEpigram.tsx b/src/pageLayout/Epigram/AddEpigram.tsx index ab4ff2bd..5738f1d4 100644 --- a/src/pageLayout/Epigram/AddEpigram.tsx +++ b/src/pageLayout/Epigram/AddEpigram.tsx @@ -77,7 +77,7 @@ function AddEpigram() { const handleAlertClose = () => { setIsAlertOpen(false); if (alertContent.title === '등록 완료') { - router.push(`/epigram/${addEpigramMutation.data?.id}`); + router.push(`/epigrams/${addEpigramMutation.data?.id}`); } }; diff --git a/src/pageLayout/Epigram/EpigramComment.tsx b/src/pageLayout/Epigram/EpigramComment.tsx index 81976a3a..36ad5606 100644 --- a/src/pageLayout/Epigram/EpigramComment.tsx +++ b/src/pageLayout/Epigram/EpigramComment.tsx @@ -18,7 +18,8 @@ function EpigramComment({ epigramId, currentUserId, userImage }: EpigramCommentP }; return ( -
+ // NOTE: 댓글부분 height 수정 +

댓글 작성

diff --git a/src/pages/addEpigram.tsx b/src/pages/addEpigram/index.tsx similarity index 100% rename from src/pages/addEpigram.tsx rename to src/pages/addEpigram/index.tsx diff --git a/src/pages/epigram/[id]/edit.tsx b/src/pages/epigrams/[id]/edit.tsx similarity index 100% rename from src/pages/epigram/[id]/edit.tsx rename to src/pages/epigrams/[id]/edit.tsx diff --git a/src/pages/epigram/[id]/index.tsx b/src/pages/epigrams/[id]/index.tsx similarity index 96% rename from src/pages/epigram/[id]/index.tsx rename to src/pages/epigrams/[id]/index.tsx index 0182da5a..9f5424ae 100644 --- a/src/pages/epigram/[id]/index.tsx +++ b/src/pages/epigrams/[id]/index.tsx @@ -22,7 +22,7 @@ function DetailPage() { return (
-
{}} />; +
{}} />