chingu-x / chingu-dashboard

https://chingu-dashboard.vercel.app
GNU General Public License v3.0
9 stars 2 forks source link

Issue with clicking on add/remove vote and clicking it again immediately #192

Open Dan-Y-Ko opened 1 month ago

Dan-Y-Ko commented 1 month ago

Describe the bug If you click the add / remove vote button twice immediately it bugs out. This bug is in ideation page and tech stack page but you don't need to test in both as they are the same logic.

https://www.loom.com/share/ac22ecc4d11344479f443c9be28af973?sid=7732ed1c-29e8-42d7-a35e-01472b2dd571

To Reproduce Bug Steps to reproduce the bug:

  1. Go to tech stack page
  2. Click on add or remove vote button (depending on which state it's currently in)
  3. Click on it again immediately
  4. Refer to loom video for demo

Expected behavior should be able to freely add and remove a vote without restrictions to the wait time in between

Screenshots If applicable, add screenshots to help explain your problem.

Additional context Add any other context about the problem here.

--------------- End of User Report: DO NOT MODIFY ITEMS BELOW THIS LINE ---------------

GitHub Issue No. / ID

Team Task Here will be added Team declaration by Team Leads.

Development start date Date when dev team start fixing a bug

Development end date Date when dev team complete fixing a bug

BugFix Deploy Date Date when BugFix is deployed, and Bug Issue is closed

PO Comment Here will be PO team add a comment.

jdmedlock commented 1 month ago

DO NOT MODIFY/DELETE THIS COMMENT Project task ID: 86b1raft8