Skip to content

Commit

Permalink
fix: type error
Browse files Browse the repository at this point in the history
  • Loading branch information
Jack-Works committed Dec 30, 2023
1 parent 09c694c commit f6ca53f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/plugins/Pets/src/hooks/useNfts.ts
Expand Up @@ -13,7 +13,7 @@ export function useNFTs() {
hasNextPage,
fetchNextPage,
dataUpdatedAt,
} = useNonFungibleAssets(NetworkPluginID.PLUGIN_EVM, undefined, {
} = useNonFungibleAssets(NetworkPluginID.PLUGIN_EVM, {
chainId,
})
useEffect(() => {
Expand Down
Expand Up @@ -159,7 +159,7 @@ export function RedpacketNftConfirmDialog(props: RedpacketNftConfirmDialogProps)
const t = useRedPacketTrans()
const { classes, cx } = useStyles()
const { onClose, message, contract, tokenList, senderName, gasOption } = props
const wallet = useWallet(NetworkPluginID.PLUGIN_EVM)
const wallet = useWallet()
const { account, chainId } = useChainContext<NetworkPluginID.PLUGIN_EVM>()

const { account: publicKey, privateKey = '' } = useMemo(() => EVMWeb3.createAccount(), [])!
Expand Down

0 comments on commit f6ca53f

Please sign in to comment.