Enhancement: disable compare button during async requests#2240
Conversation
|
@Priyanshu-byte-coder is attempting to deploy a commit to the PRIYANSHU DOSHI's projects Team on Vercel. A member of the Team first needs to authorize it. |
GSSoC Label Checklist 🏷️@Priyanshu-byte-coder — please apply the appropriate labels before merging: Difficulty (pick one):
Quality (optional):
Validation (required to score):
|
|
@Priyanshu-byte-coder , Implemented loading-state protection for the Friend Comparison form by reusing the existing Changes
Tested locally and verified that repeated clicks no longer trigger multiple requests. |
|
Hi! This PR has merge conflicts with the git fetch upstream
git rebase upstream/main
# resolve any conflicts
git push --force-with-leaseIf you're no longer working on this, let us know and we can close it. Thanks! |
|
This PR has merge conflicts with the main branch. Please rebase your branch on latest main and resolve the conflicts so it can be reviewed and merged. |
Description
This PR improves the Friend Comparison form by preventing duplicate async submissions during ongoing API requests.
Changes Made
loadingstate to prevent repeated submissionsComparing...)Benefits
Fixes #2238