fix: update error msg wen user reject tx + fix refund link render#667
fix: update error msg wen user reject tx + fix refund link render#667kushagrasarathe merged 1 commit intodevelopfrom
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
WalkthroughThe pull request updates the error handling in the Changes
Sequence Diagram(s)sequenceDiagram
participant U as User
participant V as OfframpConfirmView
participant EH as utils.ErrorHandler
U->>V: Triggers error condition
V->>EH: Pass error for processing
EH-->>V: Return processed error message
V->>U: Display error message
sequenceDiagram
participant V as OfframpConfirmView
participant U as User
V->>V: Evaluate refund rendering conditions
alt Both showRefund & createdLink present
V->>U: Display refund message
else Condition not met
V->>U: Do not display refund message
end
Possibly related PRs
Suggested reviewers
Poem
Tip 🌐 Web search-backed reviews and chat
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
🧰 Additional context used📓 Learnings (1)src/components/Offramp/Confirm.view.tsx (1)🔇 Additional comments (2)
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
|
@kushagrasarathe nit: althought 2 prs are needed, i dont think we need 2 pr reviews for this. can just merge directly |
fixes TASK-8635 for prod
Summary by CodeRabbit