Skip to content

Commit

Permalink
Feat: 투표시 alert 띄우기
Browse files Browse the repository at this point in the history
  • Loading branch information
geeoneee committed Dec 25, 2023
1 parent 6039158 commit d4f8dcf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/pages/vote/VoteDemoday.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ const VoteDemoday = () => {
const handleVoteClick = async (teamId: number) => {
try {
await usePatchTeamVote(teamId);
alert("투표되었습니다.");
} catch (error) {
alert("투표는 한 번만 가능합니다.");
}
Expand Down

0 comments on commit d4f8dcf

Please sign in to comment.