Skip to content

Commit 4f11bbf

Browse files
committed
Fix: 남아 있던 users 경로 삭제
1 parent 16eff7e commit 4f11bbf

1 file changed

Lines changed: 1 addition & 7 deletions

File tree

  • src/pages/Post/PostBase/LikeCommentBottomSheetContent

src/pages/Post/PostBase/LikeCommentBottomSheetContent/index.tsx

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -81,13 +81,7 @@ const LikeCommentBottomSheetContent: React.FC<LikeCommentBottomSheetProps> = ({
8181

8282
// 유저 클릭한 경우
8383
const handleUserClick = (userId: number) => {
84-
if (currentUserId === userId) {
85-
// 나인 경우
86-
nav(`/profile/${userId}`);
87-
} else {
88-
// 다른 유저인 경우
89-
nav(`/users/${userId}`);
90-
}
84+
nav(`/profile/${userId}`);
9185
};
9286

9387
// 댓글 작성 Input

0 commit comments

Comments
 (0)