Skip to content

Commit

Permalink
fix imports
Browse files Browse the repository at this point in the history
  • Loading branch information
alissacrane-cb committed Aug 14, 2024
1 parent 6fbd48f commit 12adb20
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions src/transaction/components/TransactionToastIcon.tsx
Original file line number Diff line number Diff line change
@@ -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 } =
Expand Down
2 changes: 1 addition & 1 deletion src/transaction/hooks/useGetTransactionAction.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand Down
2 changes: 1 addition & 1 deletion src/transaction/hooks/useGetTransactionLabel.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand Down

0 comments on commit 12adb20

Please sign in to comment.