Skip to content

Commit

Permalink
콘솔로그 삭제 및 불필요 코드 삭제
Browse files Browse the repository at this point in the history
  • Loading branch information
seobbang committed Dec 26, 2022
1 parent be30afc commit 7902a20
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions week7/src/components/History.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,7 @@ export default function History(props: HistoryData) {
const navigate = useNavigate();

const handleClick = (e: React.MouseEvent<HTMLButtonElement>) => {
e.stopPropagation();
const userId = e.currentTarget.innerText;
console.log(userId);
navigate(`/search/${userId}`);
setShow(false);
};
Expand Down

0 comments on commit 7902a20

Please sign in to comment.