Skip to content

Commit

Permalink
remove logging
Browse files Browse the repository at this point in the history
  • Loading branch information
michavie committed Jan 2, 2024
1 parent a721ab9 commit 6ed79d7
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/extensions/itheum/src/coalition/Delegator.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,7 @@ export function Delegator(props: Props) {
const isSelected = (nft: DataNftMetadata) => !!selected[nft.collection]?.find((d) => d.nonce === nft.nonce)

const handleDelegate = () => {
console.log('delegate', app.config.user, category, selected)
if (!app.config.user || !category || !Object.keys(selected).length) return
console.log('aaa')
const amount = 1 // default for NFTs, and for SFTs only 1 is allowed since data stream is equal
const nfts = Object.values(selected).flat(1)
const transferables = nfts.map((nft) => TokenTransfer.semiFungible(nft.collection, nft.nonce, amount))
Expand Down

0 comments on commit 6ed79d7

Please sign in to comment.