Skip to content

Commit

Permalink
Merge pull request #178 from eye-on-surveillance/ma/fix-1
Browse files Browse the repository at this point in the history
fix: reset index
  • Loading branch information
marvinmarnold authored Dec 7, 2023
2 parents 909cf79 + b0e869e commit 1f5896b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/web/app/feedback/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ export default function UserFeedback() {
//wraps around
setCurrentIndex((currentIndex + 1) % question_idArray.length);
setAnswered(new Set());
setCurrentIndex(0);
} else {
alert("Please wait for the rest of the cards to finish loading...");
}
Expand Down

0 comments on commit 1f5896b

Please sign in to comment.