-
Notifications
You must be signed in to change notification settings - Fork 617
[MNY-200] SDK: Fix onSuccess callback not called when tx is sent in TransactionWidget #8119
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the ✨ Finishing touches🧪 Generate unit tests
Comment |
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. This stack of pull requests is managed by Graphite. Learn more about stacking. |
size-limit report 📦
|
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #8119 +/- ##
==========================================
+ Coverage 56.24% 56.28% +0.03%
==========================================
Files 906 906
Lines 59193 59190 -3
Branches 4169 4176 +7
==========================================
+ Hits 33293 33313 +20
+ Misses 25797 25772 -25
- Partials 103 105 +2
🚀 New features to boost your workflow:
|
Merge activity
|
…ransactionWidget (#8119) <!-- ## title your PR with this format: "[SDK/Dashboard/Portal] Feature/Fix: Concise title for the changes" If you did not copy the branch name from Linear, paste the issue tag here (format is TEAM-0000): ## Notes for the reviewer Anything important to call out? Be sure to also clarify these in your comments. ## How to test Unit tests, playground, etc. --> <!-- start pr-codex --> --- ## PR-Codex overview This PR simplifies the `handlePostBuyTransactionComplete` function in the `BridgeOrchestrator` component by removing the `quote` parameter and the associated call to `onComplete`. It streamlines the transaction completion process and adjusts the `closeModal` prop accordingly. ### Detailed summary - Removed the `quote` parameter from the `handlePostBuyTransactionComplete` function. - Eliminated the call to `onComplete?.(quote)` within the `handlePostBuyTransactionComplete` function. - Updated the `closeModal` prop in the `ExecutingTxScreen` component to directly use `handlePostBuyTransactionComplete` without arguments. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->
0673b89 to
7936ebb
Compare
f5c6250 to
a83104e
Compare

PR-Codex overview
This PR simplifies the
handlePostBuyTransactionCompletefunction in theBridgeOrchestratorcomponent by removing thequoteparameter and associated logic, streamlining the transaction completion process.Detailed summary
quoteparameter fromhandlePostBuyTransactionComplete.onComplete?.(quote)withinhandlePostBuyTransactionComplete.closeModalprop inExecutingTxScreento directly usehandlePostBuyTransactionComplete.