diff --git a/src/transaction/components/TransactionButton.tsx b/src/transaction/components/TransactionButton.tsx index c0b8eb501d..b63ff4829e 100644 --- a/src/transaction/components/TransactionButton.tsx +++ b/src/transaction/components/TransactionButton.tsx @@ -1,12 +1,12 @@ import { useCallback, useMemo } from 'react'; +import { useChainId } from 'wagmi'; +import { useShowCallsStatus } from 'wagmi/experimental'; import { Spinner } from '../../internal/components/Spinner'; +import { getChainExplorer } from '../../network/getChainExplorer'; import { background, cn, color, pressable, text } from '../../styles/theme'; import type { TransactionButtonReact } from '../types'; import { isSpinnerDisplayed } from '../utils'; import { useTransactionContext } from './TransactionProvider'; -import { useShowCallsStatus } from 'wagmi/experimental'; -import { useChainId } from 'wagmi'; -import { getChainExplorer } from '../../network/getChainExplorer'; export function TransactionButton({ className, diff --git a/src/transaction/hooks/useGetTransactionStatus.tsx b/src/transaction/hooks/useGetTransactionStatus.tsx index 73d0841508..c23bb53adc 100644 --- a/src/transaction/hooks/useGetTransactionStatus.tsx +++ b/src/transaction/hooks/useGetTransactionStatus.tsx @@ -1,10 +1,10 @@ import { useMemo } from 'react'; import type { ReactNode } from 'react'; import { useChainId } from 'wagmi'; +import { useShowCallsStatus } from 'wagmi/experimental'; import { getChainExplorer } from '../../network/getChainExplorer'; import { cn, color, text } from '../../styles/theme'; import { useTransactionContext } from '../components/TransactionProvider'; -import { useShowCallsStatus } from 'wagmi/experimental'; export function useGetTransactionStatus() { const { diff --git a/src/transaction/hooks/useGetTransactionToast.tsx b/src/transaction/hooks/useGetTransactionToast.tsx index 803312ce79..6590566537 100644 --- a/src/transaction/hooks/useGetTransactionToast.tsx +++ b/src/transaction/hooks/useGetTransactionToast.tsx @@ -1,13 +1,13 @@ import { useMemo } from 'react'; import type { ReactNode } from 'react'; import { useChainId } from 'wagmi'; +import { useShowCallsStatus } from 'wagmi/experimental'; import { Spinner } from '../../internal/components/Spinner'; import { errorSvg } from '../../internal/svg/errorSvg'; import { successSvg } from '../../internal/svg/successSvg'; import { getChainExplorer } from '../../network/getChainExplorer'; import { cn, color, text } from '../../styles/theme'; import { useTransactionContext } from '../components/TransactionProvider'; -import { useShowCallsStatus } from 'wagmi/experimental'; export function useGetTransactionToast() { const {