Closed kkatusic closed 1 month ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
giveth-dapps-v2 | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Oct 9, 2024 11:40am |
The changes introduce a new boolean variable isSolanaChain
in the AddNewAddress.tsx
component to identify if the selected blockchain is Solana. This variable influences the handleAdd
function, modifying the address input placeholder to 'xxxx...xxxx' for Solana addresses while retaining existing conditions for Stellar. Additionally, the validateAddress
function has been updated to validate Solana addresses using the isSolanaAddress
function. The overall structure of the component remains unchanged, focusing on improving address validation for the Solana blockchain.
File Path | Change Summary |
---|---|
src/components/modals/ManageProjectAddresses/AddNewAddress.tsx |
- Added boolean variable isSolanaChain to check for Solana chain.- Updated placeholder for address input for Solana. - Modified validateAddress to include Solana address validation. |
In the land of chains where rabbits play,
A new address blooms, bright as day.
Solana's call, a hop and a skip,
With 'xxxx...xxxx', we take a trip.
Validations dance, so swift and keen,
In our project, all is serene! 🐇✨
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?
Summary by CodeRabbit
New Features
Bug Fixes