gemworks / gem-farm-ui

React UI for Gem Farm
https://gem-farm-ui.vercel.app/
31 stars 49 forks source link

Fixed issues with loading NFTs & depositing tokens to the vault. #18

Closed kubaplata closed 1 year ago

kubaplata commented 2 years ago

Update regarding this issue - issues were caused by isLazyNft() validation.

All NFTs returned by the findAllByOwner() and findAllByMintList() were lazyNfts, so validation returned undefined. And the NFTs list were just Array of undefineds.

I reworked the functions, so even if NFT is lazyNft, the function will run the loadNft() function and return non-lazy NFT, with all needed Metadata.

I've tested the functions and everything should work fine now. 🤠

vercel[bot] commented 2 years ago

@kubaplata is attempting to deploy a commit to the mentalabsio Team on Vercel.

A member of the Team first needs to authorize it.

eliagoris commented 2 years ago

Thx again @kubaplata. I'll leave it approved with the optional change =))