Skip to content

Commit

Permalink
erc1155 fix
Browse files Browse the repository at this point in the history
  • Loading branch information
SamueleA committed Nov 29, 2024
1 parent 5559f1c commit c5d0579
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/wallet/src/views/SendCollectible.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ import { TokenBalance } from '@0xsequence/indexer'
import { getNativeTokenInfoByChainId, useAnalyticsContext, ExtendedConnector, useCollectibleBalance } from '@0xsequence/kit'
import { ethers } from 'ethers'
import React, { useRef, useState, ChangeEvent, useEffect } from 'react'
import { zeroAddress } from 'viem'
import { useAccount, useChainId, useSwitchChain, useConfig, useSendTransaction } from 'wagmi'

import { ERC_1155_ABI, ERC_721_ABI, HEADER_HEIGHT } from '../constants'
Expand Down Expand Up @@ -191,7 +192,7 @@ export const SendCollectible = ({ chainId, contractAddress, tokenId }: SendColle
toAddress,
[tokenId],
[ethers.toQuantity(sendAmount)],
[]
zeroAddress
]) as `0x${string}`,
gas: null
},
Expand Down

0 comments on commit c5d0579

Please sign in to comment.