Closed RamRamez closed 6 days 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 | Jun 25, 2024 6:17pm |
The recent updates introduce two main changes. Firstly, the MakeDonationDescription
component in ProjectEligibleQFChains.tsx
underwent minor UI adjustments to improve spacing around the <BoldCaption>
element. Secondly, the getChainName
function in src/lib/network.ts
has been enhanced to handle non-EVM networks by referencing a new configuration (config.NON_EVM_NETWORKS_CONFIG
), thereby expanding its flexibility and accurate network name retrieval.
Files | Change Summary |
---|---|
.../project/projectActionCard/ProjectEligibleQFChains.tsx |
Adjusted spacing around the <BoldCaption> element within the MakeDonationDescription component. |
src/lib/network.ts |
Updated getChainName function to handle non-EVM networks using config.NON_EVM_NETWORKS_CONFIG . |
sequenceDiagram
actor User
participant ProjectEligibleQFChains.tsx
participant network.ts
User ->> ProjectEligibleQFChains.tsx: View MakeDonationDescription Component
ProjectEligibleQFChains.tsx -->> User: Show updated layout
User ->> network.ts: Call getChainName with chainId
network.ts ->> config: Check NON_EVM_NETWORKS_CONFIG
config -->> network.ts: Return non-EVM network name
network.ts -->> User: Return network name
Upon the code, a rabbit leaped, Adjusting words and spacing neat. Networks of chains from EVM and beyond, Now all gather 'round in a harmonious bond. 🌐 In paths of data, where changes have spread, A coderabbit ventures, where few dare to tread. 🐇
https://github.com/Giveth/giveth-dapps-v2/issues/4341
Summary by CodeRabbit
Bug Fixes
<BoldCaption>
element in donation descriptions for better readability.New Features