Skip to content

Commit

Permalink
fix: double cancel offer call
Browse files Browse the repository at this point in the history
  • Loading branch information
milorue committed Apr 12, 2022
1 parent c5abab2 commit 717afd3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions pages/profiles/[publicKey]/nfts.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ const NFTCard = ({
<>
<div className="transform overflow-hidden rounded-lg border-gray-800 shadow-2xl transition duration-[300ms] hover:scale-[1.02]">
<Link href={`/nfts/${nft.address}`} passHref>
<a>
<div className={`cursor-pointer`}>
<div className={`relative `}>
<img
src={imgOpt(nft.image, 600)}
Expand Down Expand Up @@ -107,7 +107,7 @@ const NFTCard = ({
{nft.name}
</p>
</div>
</a>
</div>
</Link>
<div className={`h-20`}>
<div className={`flex w-full items-center justify-between p-5`}>
Expand Down
1 change: 0 additions & 1 deletion src/common/components/forms/CancelOfferForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ const CancelOfferForm: FC<CancelOfferFormProps> = ({
disabled={isSubmitting}
htmlType={`submit`}
secondary
onClick={cancelOfferTx}
>
Cancel offer
</Button>
Expand Down

0 comments on commit 717afd3

Please sign in to comment.