From 19401b2b48ec959d38cac7dfd1123a2cbbe646b8 Mon Sep 17 00:00:00 2001 From: Alissa Crane Date: Thu, 8 Aug 2024 20:46:41 -0700 Subject: [PATCH] fix imports --- src/transaction/components/TransactionButton.tsx | 6 +++--- src/transaction/hooks/useGetTransactionStatus.tsx | 2 +- src/transaction/hooks/useGetTransactionToast.tsx | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) 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 {