Skip to content

Commit

Permalink
fix: 뒤로가기 오류
Browse files Browse the repository at this point in the history
  • Loading branch information
ssilver01 committed Aug 7, 2024
1 parent a4eca8f commit 509c475
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/routers/home/detail/Detail.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ const Detail = () => {
| undefined;

const handleArrowClick = () => {
navigate(-1);
postDetail?.ownerId === memberId ? navigate('/') : navigate(-1);
};

const handleHomeClick = () => {
Expand Down

0 comments on commit 509c475

Please sign in to comment.