Closed kemuru closed 3 months ago
The recent update to the AttachedFile
component in AttachedFile.tsx
changes how the href
attribute for file links is generated. Instead of directly modifying the URI protocol, the component now uses the getIpfsUrl
function from utils/getIpfsUrl
to construct the href
. This ensures a more consistent and reliable way of handling IPFS URLs.
File Path | Change Summary |
---|---|
web/src/components/PreviewCard/Terms/AttachedFile.tsx |
Modified the href attribute generation by using the getIpfsUrl function from utils/getIpfsUrl . Added the import statement for getIpfsUrl . |
In code, we weave a brand new tale,
WithgetIpfsUrl
, we now prevail.
Links once tangled, now set free,
A smoother path for you and me.
Through digital realms, our files do sail,
With every click, a wondrous trail.
🌐✨🚀
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?
Name | Link |
---|---|
Latest commit | 99675d829dd52544e57d4c80d47aac440434d61c |
Latest deploy log | https://app.netlify.com/sites/kleros-escrow-v2/deploys/6669d8ad57faa00008540132 |
Deploy Preview | https://deploy-preview-61--kleros-escrow-v2.netlify.app |
Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.
PR-Codex overview
This PR introduces a new function
getIpfsUrl
to dynamically generate IPFS URLs for attached files inAttachedFile.tsx
.Detailed summary
getIpfsUrl
function import fromutils
href
assignment inAttachedFile
component to usegetIpfsUrl
for dynamic IPFS URL generationSummary by CodeRabbit