I\'m working on a React app which I\'ve realized is allowing double-submits.
To prevent that, I changed the code to not be asynchronous.
But this means when return