Skip to content

Commit

Permalink
Refactor: button 타입 추가 #101
Browse files Browse the repository at this point in the history
  • Loading branch information
1119wj committed Nov 18, 2024
1 parent cae7ded commit 92fa851
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion frontend/src/components/common/PrevNavButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@ import PrevIcon from './PrevIcon';
const PrevNavButton = () => {
const navigate = useNavigate();
return (
<button onClick={() => navigate(-1)}>
<button
type="button"
onClick={() => navigate(-1)}
aria-label="이전 페이지로 이동"
>
<PrevIcon />
</button>
);
Expand Down

0 comments on commit 92fa851

Please sign in to comment.