-
Notifications
You must be signed in to change notification settings - Fork 617
[MNY-180] SDK: Fix TransactionWidget not respecting currency prop #8118
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 #8118 +/- ##
==========================================
- Coverage 56.27% 56.24% -0.03%
==========================================
Files 906 906
Lines 59191 59193 +2
Branches 4171 4169 -2
==========================================
- Hits 33308 33293 -15
- Misses 25778 25797 +19
+ Partials 105 103 -2
🚀 New features to boost your workflow:
|
Merge activity
|
2d05ee0 to
89acabc
Compare
) <!-- ## 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 focuses on updating the handling of the `currency` property in various components and adding a new story for a transaction mode in light theme that showcases an ERC20 token transfer. ### Detailed summary - Changed `currency` from optional to required in `useTransactionDetails.ts`. - Added `currency` to the props in `PaymentOverview.tsx` and `TransactionPayment.tsx`. - Introduced a new story `TransactionJPYCurrency` in `BridgeOrchestrator.stories.tsx` for displaying an ERC20 token transfer in light theme. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->
89acabc to
3b986d5
Compare
0673b89 to
7936ebb
Compare

PR-Codex overview
This PR focuses on enhancing the handling of currency in transaction details across various components in the
thirdwebpackage, ensuring better support for undefined currency values and introducing a new story for displaying a transaction in JPY.Detailed summary
currencyproperty inuseTransactionDetails.tsto allowundefined.currencyto the transaction details inPaymentOverview.tsx.currencyin the transaction data forTransactionPayment.tsx.TransactionJPYCurrencyfor ERC20 token transfer in light theme, specifying JPY as the currency.