Skip to content

Commit

Permalink
added validation for xtz
Browse files Browse the repository at this point in the history
  • Loading branch information
fabiolalombardim committed May 30, 2024
1 parent c040f6e commit 600339d
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/modules/explorer/pages/ProposalDetails/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -282,9 +282,10 @@ export const ProposalDetails: React.FC = () => {

transfers.map((transfer: Transfer) => {
if (
transfer.tokenId !== undefined &&
transfer.type === "FA2" &&
new BigNumber(transfer.tokenId).toNumber() === 0
(transfer.tokenId !== undefined &&
transfer.type === "FA2" &&
new BigNumber(transfer.tokenId).toNumber() === 0) ||
transfer.type === "XTZ"
) {
NTFFound = true
}
Expand Down

0 comments on commit 600339d

Please sign in to comment.