diff --git a/packages/kit/src/components/TxnDetails/index.tsx b/packages/kit/src/components/KitProvider/TxnDetails/index.tsx similarity index 97% rename from packages/kit/src/components/TxnDetails/index.tsx rename to packages/kit/src/components/KitProvider/TxnDetails/index.tsx index ebfe4c52..ad73b7c0 100644 --- a/packages/kit/src/components/TxnDetails/index.tsx +++ b/packages/kit/src/components/KitProvider/TxnDetails/index.tsx @@ -6,10 +6,10 @@ import { ethers } from 'ethers' import React, { useEffect, useState } from 'react' import { useConfig } from 'wagmi' -import { useAPIClient } from '../../hooks' -import { capitalize, compareAddress, getNativeTokenInfoByChainId } from '../../utils' -import { DecodingType, TransferProps, AwardItemProps, decodeTransactions } from '../../utils/txnDecoding' -import { CollectibleTileImage } from '../KitProvider/CollectibleTileImage' +import { useAPIClient } from '../../../hooks' +import { capitalize, compareAddress, getNativeTokenInfoByChainId } from '../../../utils' +import { DecodingType, TransferProps, AwardItemProps, decodeTransactions } from '../../../utils/txnDecoding' +import { CollectibleTileImage } from '../CollectibleTileImage' interface TxnDetailsProps { address: string diff --git a/packages/kit/src/components/KitProvider/index.tsx b/packages/kit/src/components/KitProvider/index.tsx index 4ad2bfc8..c835b5ee 100644 --- a/packages/kit/src/components/KitProvider/index.tsx +++ b/packages/kit/src/components/KitProvider/index.tsx @@ -20,11 +20,11 @@ import { useStorage } from '../../hooks' import { useWaasConfirmationHandler } from '../../hooks/useWaasConfirmationHandler' import { ExtendedConnector, DisplayedAsset, EthAuthSettings, KitConfig, Theme, ModalPosition } from '../../types' import { getModalPositionCss } from '../../utils' -import { TxnDetails } from '../TxnDetails' import { ConnectWalletContent } from './ConnectWalletContent' import { NetworkBadge } from './NetworkBadge' import { SequenceLogo } from './SequenceLogo' +import { TxnDetails } from './TxnDetails' export type KitConnectProviderProps = { children: React.ReactNode