Skip to content

Commit

Permalink
fix: reset last message kalau box ketika ada perintah close
Browse files Browse the repository at this point in the history
  • Loading branch information
reacto11mecha committed Jul 11, 2024
1 parent ac36e71 commit ed5c1c5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions apps/clients/chooser/src/routes/vote-page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@ function VotePage() {
if (!upvoteCandidate.isPending) {
setID(null);
setAlertOpen(false);
setLastMessage(null);
}

break;
Expand Down Expand Up @@ -237,6 +238,7 @@ function VotePage() {
if (!upvoteCandidate.isPending) {
setID(null);
setAlertOpen(false);
setLastMessage(null);
}

break;
Expand Down

0 comments on commit ed5c1c5

Please sign in to comment.