fix: Sometimes Audio resources are shown as images #7517
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Thank you for your contribution to the KodaDot - One Stop Shop for Polkadot NFTs.
👇 __ Let's make a quick check before the contribution.
PR Type
Context
use nft resource's animation url if animation url is not present for the first resource
test : https://deploy-preview-7517--nuxt-kodadot.netlify.app/ksm/gallery/14968743-3629a3ff458d113e25-MUSIC-MOOD-00000068
Did your issue had any of the "$" label on it?
Community participation
Screenshot 📸
Copilot Summary
🤖 Generated by Copilot at ca87612
Enhanced the gallery item component to display animations for NFTs. Used the
useGalleryItem
hook to get the animation URL from the NFT metadata.🤖 Generated by Copilot at ca87612