From 766d9f03559027c8e39449006a2c930e3991a7c0 Mon Sep 17 00:00:00 2001 From: Alissa Crane Date: Fri, 9 Aug 2024 11:34:06 -0700 Subject: [PATCH] fix imports --- src/transaction/components/TransactionToastIcon.tsx | 6 +++--- src/transaction/hooks/useGetTransactionAction.test.tsx | 2 +- src/transaction/hooks/useGetTransactionLabel.test.tsx | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/transaction/components/TransactionToastIcon.tsx b/src/transaction/components/TransactionToastIcon.tsx index 1f66a0b866..5df1263095 100644 --- a/src/transaction/components/TransactionToastIcon.tsx +++ b/src/transaction/components/TransactionToastIcon.tsx @@ -1,10 +1,10 @@ import { useMemo } from 'react'; +import { Spinner } from '../../internal/components/Spinner'; +import { errorSvg } from '../../internal/svg/errorSvg'; +import { successSvg } from '../../internal/svg/successSvg'; import { cn, text } from '../../styles/theme'; import type { TransactionToastIconReact } from '../types'; import { useTransactionContext } from './TransactionProvider'; -import { Spinner } from '../../internal/components/Spinner'; -import { successSvg } from '../../internal/svg/successSvg'; -import { errorSvg } from '../../internal/svg/errorSvg'; export function TransactionToastIcon({ className }: TransactionToastIconReact) { const { errorMessage, isLoading, receipt, transactionHash, transactionId } = diff --git a/src/transaction/hooks/useGetTransactionAction.test.tsx b/src/transaction/hooks/useGetTransactionAction.test.tsx index eb85de5056..016e829e4f 100644 --- a/src/transaction/hooks/useGetTransactionAction.test.tsx +++ b/src/transaction/hooks/useGetTransactionAction.test.tsx @@ -2,9 +2,9 @@ import { renderHook } from '@testing-library/react'; import { beforeEach, describe, expect, it, vi } from 'vitest'; import { useChainId } from 'wagmi'; import { useShowCallsStatus } from 'wagmi/experimental'; +import { getChainExplorer } from '../../network/getChainExplorer'; import { useTransactionContext } from '../components/TransactionProvider'; import { useGetTransactionAction } from './useGetTransactionAction'; -import { getChainExplorer } from '../../network/getChainExplorer'; vi.mock('../components/TransactionProvider', () => ({ useTransactionContext: vi.fn(), diff --git a/src/transaction/hooks/useGetTransactionLabel.test.tsx b/src/transaction/hooks/useGetTransactionLabel.test.tsx index 44811f6a09..95e18db8b3 100644 --- a/src/transaction/hooks/useGetTransactionLabel.test.tsx +++ b/src/transaction/hooks/useGetTransactionLabel.test.tsx @@ -2,9 +2,9 @@ import { renderHook } from '@testing-library/react'; import { beforeEach, describe, expect, it, vi } from 'vitest'; import { useChainId } from 'wagmi'; import { useShowCallsStatus } from 'wagmi/experimental'; +import { getChainExplorer } from '../../network/getChainExplorer'; import { useTransactionContext } from '../components/TransactionProvider'; import { useGetTransactionLabel } from './useGetTransactionLabel'; -import { getChainExplorer } from '../../network/getChainExplorer'; vi.mock('../components/TransactionProvider', () => ({ useTransactionContext: vi.fn(),