Skip to content

Conversation

@KarliAitema
Copy link

Fixes #164

Hi! I spotted issue #164 and put together a fix.

What's Changed

This addresses the issue by making the necessary code changes.

Related Issue

Closes #164


Let me know if you'd like any changes! Happy to adjust.

Added loading state to the Review component's useMutation hook to
disable the submit button while the review submission is in progress.
This prevents users from having to tap the submit button multiple times.

Changes:
- Extract loadingMutation from useMutation hook
- Disable submit button when mutation is loading
- Add visual feedback (reduced opacity) when loading
- Show 'Submitting...' text during mutation
- Added 'submitting' translation key

Co-Authored-By: Claude <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Enatega Customer Application: Reviewing any past order , we have to tap submit button multiple times

1 participant