Skip to content

Commit

Permalink
fix: #96
Browse files Browse the repository at this point in the history
  • Loading branch information
tmm committed Jan 24, 2022
1 parent be91099 commit b7018a6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions packages/react/src/hooks/contracts/useContractRead.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as React from 'react'
import { Overrides, ethers } from 'ethers'
import { CallOverrides, ethers } from 'ethers'
import { Result } from 'ethers/lib/utils'

import { useBlockNumber } from '../network-status'
Expand All @@ -8,7 +8,7 @@ import { Config as UseContractConfig, useContract } from './useContract'

type Config = {
args?: any | any[]
overrides?: Overrides
overrides?: CallOverrides
skip?: boolean
watch?: boolean
}
Expand Down
4 changes: 2 additions & 2 deletions packages/react/src/hooks/contracts/useContractWrite.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as React from 'react'
import { Overrides, ethers } from 'ethers'
import { CallOverrides, ethers } from 'ethers'
import { TransactionResponse } from '@ethersproject/providers'
import { ConnectorNotFoundError, UserRejectedRequestError } from 'wagmi-private'

Expand All @@ -8,7 +8,7 @@ import { Config as UseContractConfig, useContract } from './useContract'

type Config = {
args?: any | any[]
overrides?: Overrides
overrides?: CallOverrides
}

type State = {
Expand Down

0 comments on commit b7018a6

Please sign in to comment.