Skip to content

Commit

Permalink
Claim mobile location fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sdkayy committed Feb 1, 2023
1 parent 638365a commit e6adc7f
Showing 1 changed file with 2 additions and 14 deletions.
16 changes: 2 additions & 14 deletions src/components/NFT.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ export default function NFT({ tokenId }) {
</div>
<div className="flex flex-col gap-2 ml-4 ">
<Label>Deposited DYAD</Label>
<div className="flex flex-row gap-2 md:flex-col">
<div className="flex flex-col gap-2">
<div className="md:flex md:gap-2">
<div className="mb-2 md:mr-2 md:mb-0">
{Math.round((nft.deposit / 10 ** 18) * 100) / 100}
Expand All @@ -260,22 +260,10 @@ export default function NFT({ tokenId }) {
>
Withdraw
</Button>
{isClaimable && nft.isActive && (
<div className="flex md:hidden animate-claimPulse">
<Button
onClick={onOpenClaim}
isDisabled={
isFetching || isFetchingTx || isSafetyModeActivated
}
>
Claim
</Button>
</div>
)}
</div>
</div>
{isClaimable && nft.isActive && (
<div className="hidden md:flex animate-claimPulse">
<div className="flex animate-claimPulse">
<Button
onClick={onOpenClaim}
isDisabled={
Expand Down

0 comments on commit e6adc7f

Please sign in to comment.