Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
SamueleA committed May 1, 2024
1 parent a975fbc commit 95bf94e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@ interface OrderSummaryItem {

export const OrderSummaryItem = ({ contractAddress, tokenId, quantityRaw, chainId }: OrderSummaryItem) => {
const { chains } = useConfig()
const { data: tokenMetadata, isPending: isPendingTokenMetadata } = useTokenMetadata({
const { data: tokenMetadata, isLoading: isPendingTokenMetadata } = useTokenMetadata({
chainId,
contractAddress,
tokenId
})

const { data: contractInfo, isPending: isPendingContractInfo } = useContractInfo({
const { data: contractInfo, isLoading: isPendingContractInfo } = useContractInfo({
chainID: String(chainId),
contractAddress
})
Expand Down
2 changes: 1 addition & 1 deletion packages/connectors/src/defaultConnectors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export const getDefaultConnectors = ({
defaultChainId,
projectAccessKey,
appName
}: GetDefaultConnectors): CreateConnectorFn[] => {
}: GetDefaultConnectors): CreateConnectorFn<any>[] => {
const connectors = getKitConnectWallets(projectAccessKey, [
email({
defaultNetwork: defaultChainId,
Expand Down
6 changes: 1 addition & 5 deletions packages/kit/src/hooks/useWaasRevalidation.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
import { SequenceWaaS } from '@0xsequence/waas'
import { commons } from '@0xsequence/core'
import { ethers } from 'ethers'
import { useState, useEffect } from 'react'
import { Deferred } from '../utils/deferred'
import { useEffect } from 'react'
import { useAccount } from 'wagmi'
import type { SequenceWaasConnector } from '@0xsequence/kit-connectors'


export function useWaasRevalidation(
Expand Down

0 comments on commit 95bf94e

Please sign in to comment.