diff --git a/src/components/Superfest/NFTClaimingBox/NFTCard/NFTCard.tsx b/src/components/Superfest/NFTClaimingBox/NFTCard/NFTCard.tsx index f4b3c588f..dc81069cc 100644 --- a/src/components/Superfest/NFTClaimingBox/NFTCard/NFTCard.tsx +++ b/src/components/Superfest/NFTClaimingBox/NFTCard/NFTCard.tsx @@ -11,6 +11,7 @@ import { ChainId } from '@lifi/sdk'; import { GalxeNFTABI } from 'src/const/abi/galxeNftABI'; import { SoraTypography } from '../../Superfest.style'; import { useCheckNFTAvailability } from 'src/hooks/useCheckNFTAvailability'; +import Link from 'next/link'; interface NFTCardProps { image: string; @@ -37,9 +38,11 @@ export const NFTCard = ({ image, chain, bgColor, typoColor }: NFTCardProps) => { }); const NFTimage = - chain === 'box' && (claimInfo.isClaimable || claimInfo.isClaimed) - ? LAST_NFT_IMAGE - : image; + chain === 'box' && claimInfo.isClaimed ? LAST_NFT_IMAGE : image; + + // chain === 'box' && (claimInfo.isClaimable || claimInfo.isClaimed) + // ? LAST_NFT_IMAGE + // : image; async function handleClick() { try { @@ -171,50 +174,91 @@ export const NFTCard = ({ image, chain, bgColor, typoColor }: NFTCardProps) => { ); } - if (claimInfo?.isClaimable) { - return ( - - {chain} - - - - - ); - } + // if (claimInfo?.isClaimable) { + // return ( + // + // {chain} + // + // + // + // + // ); + // } + // return ( + // + // {chain} + // + // + // + // + // ); + + // temporary fix return ( { height="288" /> - + + );