You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: handle declined and error states in grant interaction page
The grant interaction page (payment-confirmation.tsx) previously
showed the success UI with a green checkmark for all states,
including declined grants and server errors. Users saw "Payment
Complete!" even when their grant was rejected.
Changes:
- Check the `result` query parameter for interaction outcome
(grant_rejected, etc.) and display appropriate error UI
- Use the loader's `success` field to conditionally render
success or error state with distinct icons and messaging
- Rename the component from PaymentComplete to GrantInteraction
to better reflect its purpose
- Display the specific error message from the loader
Closes#480
0 commit comments