diff --git a/src/logic/wallets/getWeb3.ts b/src/logic/wallets/getWeb3.ts index 466250c5..32564b0e 100644 --- a/src/logic/wallets/getWeb3.ts +++ b/src/logic/wallets/getWeb3.ts @@ -5,15 +5,6 @@ import { EMPTY_DATA } from './ethTransactions' import { getNetwork } from '../../config' -declare global { - interface Window { - web3: { - currentProvider: any - } - testAccountIndex: string - } -} - export const ETHEREUM_NETWORK = { MAINNET: 'MAINNET', MORDEN: 'MORDEN', diff --git a/src/types/definitions.d.ts b/src/types/definitions.d.ts index 49309333..81037b98 100644 --- a/src/types/definitions.d.ts +++ b/src/types/definitions.d.ts @@ -1,2 +1,8 @@ +interface Window { + web3: { + currentProvider: any + } + testAccountIndex: string +} declare module '@openzeppelin/contracts/build/contracts/ERC721' declare module 'currency-flags/dist/currency-flags.min.css'