Closed mohitb35 closed 17 hours ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
donate-with-planet | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Dec 3, 2024 11:30am |
The changes in this pull request primarily involve updating the version of the @planet-sdk/common
package in package.json
from ^0.1.42
to ^0.1.47
. Additionally, there are multiple modifications across various components related to correcting the spelling of the currency formatting function from getFormatedCurrency
to getFormattedCurrency
. This correction is consistent throughout several files, ensuring that the correct function is utilized without altering existing functionality or logic.
File Path | Change Summary |
---|---|
package.json |
Updated dependency version: "@planet-sdk/common": "^0.1.42" → "@planet-sdk/common": "^0.1.47" |
src/Utils/getFormattedCurrency.ts |
Renamed functions: getFormatedCurrency → getFormattedCurrency , getFormatedCurrencySymbol → getFormattedCurrencySymbol |
src/Donations/Components/ContactsForm.tsx |
Updated import and usage of getFormatedCurrency to getFormattedCurrency |
src/Donations/Components/DonationsForm.tsx |
Updated all instances of getFormatedCurrency to getFormattedCurrency |
src/Donations/Components/PaymentsForm.tsx |
Corrected import and usage of getFormatedCurrency to getFormattedCurrency |
src/Donations/LeftPanel/TransactionSummary.tsx |
Updated import and usage of getFormatedCurrency to getFormattedCurrency |
src/Donations/Micros/DonationAmount.tsx |
Corrected import and usage of getFormatedCurrency to getFormattedCurrency |
src/Donations/Micros/DonationTypes/BouquetDonations.tsx |
Updated all instances of getFormatedCurrency and getFormatedCurrencySymbol to their corrected forms |
src/Donations/Micros/DonationTypes/FundingDonations.tsx |
Updated all instances of getFormatedCurrency and getFormatedCurrencySymbol to their corrected forms |
src/Donations/Micros/DonationTypes/TreeDonation.tsx |
Corrected import and usage of getFormatedCurrency to getFormattedCurrency |
src/Donations/Micros/PaymentStatus/ImageComponent.tsx |
Updated import and usage of getFormatedCurrency to getFormattedCurrency |
src/Donations/Micros/PaymentStatus/ThankyouMessage.tsx |
Updated import and usage of getFormatedCurrency to getFormattedCurrency |
src/Donations/Micros/PaymentStatus/TransferDetails.tsx |
Updated import and usage of getFormatedCurrency to getFormattedCurrency |
src/Donations/Micros/PlanetCashSelector.tsx |
Updated import and usage of getFormatedCurrency to getFormattedCurrency |
src/Donations/PaymentMethods/PaymentMethodTabs.tsx |
Updated import and usage of getFormatedCurrency to getFormattedCurrency |
@planet-sdk/common
package version from ^0.1.42
to ^0.1.47
are related to PR #470, which also updates the same package version from ^0.1.34
to ^0.1.42
.PR: reviewed-approved
In the garden where donations bloom,
A rabbit hops, dispelling gloom.
With currency formatted just so right,
Every donation shines so bright!
FromgetFormated
togetFormatted
,
Our code now dances, all well-mended! 🐇✨
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?
Could you address the code factor issue ?
Could you address the code factor issue ?
I have addressed the ones that could be addressed. The pending issue relates to complex code in the PlanetCashSelector.tsx
file, but that requires a substantial refactor that is not related to this PR.
Summary by CodeRabbit
New Features
Bug Fixes
getFormatedCurrency
togetFormattedCurrency
in multiple components, ensuring consistent functionality.Chores
@planet-sdk/common
package to enhance overall application performance and stability.