Closed otsalex closed 3 months ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
sommelier-web | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Jun 28, 2024 9:17am |
The overall change involves modifying the assignment of transaction hash values returned from contract write operations within the WithdrawQueueForm
component and the useBridgeEthToSommTx
hook. Instead of using object destructuring to extract the hash
property, the code now assigns the return value directly to a variable.
File Path | Change Summary |
---|---|
src/components/_forms/WithdrawQueueForm.tsx |
Modified the assignment of the hash value from destructuring to direct assignment for the approve function of the cellarContract . |
src/hooks/web3/useBridgeEthToSommTx.tsx |
Modified the assignment of hash values from destructuring to direct assignment for the approve function of the erc20Contract and the sendToCosmos function of the bridgeContract . |
(N/A)
In the realm of code so tight, Hashes now shine in direct light. No destructuring, just a swift sight, To keep our contracts running right.
🐇✨
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
WithdrawQueueForm
anduseBridgeEthToSommTx
for improved readability and maintainability.