The button fires off an api request each time, we should rate limit it on the UI side
Goal
Start a timer after each button submission and prevent the user from being able to submit the request until the timer is up. Say, 10 seconds, then if pressed again before 15s is up, there should be a popup that says "Please wait X seconds before trying again"
Motivation
The button fires off an api request each time, we should rate limit it on the UI side
Goal
Start a timer after each button submission and prevent the user from being able to submit the request until the timer is up. Say, 10 seconds, then if pressed again before 15s is up, there should be a popup that says "Please wait X seconds before trying again"