diff --git a/src/app/(MainLayout)/components/FeedContentBox/FeedContentBox.tsx b/src/app/(MainLayout)/components/FeedContentBox/FeedContentBox.tsx index b4dda43..65bfaae 100644 --- a/src/app/(MainLayout)/components/FeedContentBox/FeedContentBox.tsx +++ b/src/app/(MainLayout)/components/FeedContentBox/FeedContentBox.tsx @@ -14,7 +14,12 @@ const FeedContentBox = ({ feed }: FeedContentBoxProps) => { const router = useRouter(); const onClickMoreButton = () => { - router.push('?f=1'); + if (feed.post.postType === 'BASIC') { + router.push('?cf=1'); + } + if (feed.post.postType === 'DEBATE') { + router.push('?df=1'); + } }; return ( diff --git a/src/app/(MainLayout)/components/FeedCountBox/FeedCountBox.tsx b/src/app/(MainLayout)/components/FeedCountBox/FeedCountBox.tsx index 0e531a6..a741f78 100644 --- a/src/app/(MainLayout)/components/FeedCountBox/FeedCountBox.tsx +++ b/src/app/(MainLayout)/components/FeedCountBox/FeedCountBox.tsx @@ -15,12 +15,17 @@ const FeedCountBox = ({ post }: FeedCountBoxProps) => { const router = useRouter(); const onClickMessageIcon = () => { - router.push('?f=1'); + if (post.postType === 'BASIC') { + router.push('?cf=1'); + } + if (post.postType === 'DEBATE') { + router.push('?df=1'); + } }; return (