Skip to content

Commit

Permalink
prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
supreme2580 committed Dec 3, 2024
1 parent c3693f6 commit 91768c0
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion frontend/src/services/apiService.js
Original file line number Diff line number Diff line change
Expand Up @@ -130,4 +130,4 @@ export const getLikedNftsFn = async (params) => {
return await fetchWrapper(
`get-liked-nfts?address=${queryAddress}&page=${page}&pageLength=${pageLength}`
);
};
};
32 changes: 16 additions & 16 deletions frontend/src/tabs/nfts/NFTs.js
Original file line number Diff line number Diff line change
Expand Up @@ -150,22 +150,22 @@ const NFTsExpandedSection = (props) => {
(props.allNfts.length > 0 || props.activeFilter !== 'liked') &&
props.allNfts.map((nft, index) => (
<NFTItem
key={index}
{...nft}
address={props.address}
account={props.account}
estimateInvokeFee={props.estimateInvokeFee}
artPeaceContract={props.artPeaceContract}
canvasNftContract={props.canvasNftContract}
image={imageURL + 'nft-' + nft.tokenId + '.png'}
metadata={metadataURL + 'nft-' + nft.tokenId + '.json'}
queryAddress={props.queryAddress}
updateLikes={props.updateLikes}
setTemplateOverlayMode={props.setTemplateOverlayMode}
setOverlayTemplate={props.setOverlayTemplate}
setActiveTab={props.setActiveTab}
/>
))}
key={index}
{...nft}
address={props.address}
account={props.account}
estimateInvokeFee={props.estimateInvokeFee}
artPeaceContract={props.artPeaceContract}
canvasNftContract={props.canvasNftContract}
image={imageURL + 'nft-' + nft.tokenId + '.png'}
metadata={metadataURL + 'nft-' + nft.tokenId + '.json'}
queryAddress={props.queryAddress}
updateLikes={props.updateLikes}
setTemplateOverlayMode={props.setTemplateOverlayMode}
setOverlayTemplate={props.setOverlayTemplate}
setActiveTab={props.setActiveTab}
/>
))}
</div>
<PaginationView
data={props.allNfts.filter((nft) => nft.dayIndex === dayIndex)}
Expand Down

0 comments on commit 91768c0

Please sign in to comment.