Skip to content

Commit

Permalink
disable claim button when auction network is different than wallet ne…
Browse files Browse the repository at this point in the history
…twork
  • Loading branch information
ramirotw committed Jul 12, 2021
1 parent 957453d commit 140bd76
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/components/auction/Claimer/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -154,8 +154,9 @@ const Claimer: React.FC<Props> = (props) => {
showConfirm ||
isLoading ||
userConfirmedTx ||
claimStatus != ClaimState.NOT_CLAIMED,
[isValid, showConfirm, isLoading, userConfirmedTx, claimStatus],
claimStatus != ClaimState.NOT_CLAIMED ||
chainId !== Web3ChainId,
[isValid, showConfirm, isLoading, userConfirmedTx, claimStatus, chainId, Web3ChainId],
)

const isXDAI = isTokenXDAI(derivedAuctionInfo.biddingToken.address, chainId)
Expand Down

0 comments on commit 140bd76

Please sign in to comment.