Skip to content

Commit 785ff4e

Browse files
committed
fix tests, lints
1 parent 6019cf8 commit 785ff4e

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

src/identity/components/Address.tsx

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
'use client';
22

3-
import { useIdentityContext } from '@/core-react/identity/providers/IdentityProvider';
4-
import type { AddressReact } from '@/core-react/identity/types';
5-
import { getSlicedAddress } from '@/core/identity/utils/getSlicedAddress';
63
import { copyToClipboard } from '@/core/utils/copyToClipboard';
74
import { useState } from 'react';
85
import { border, cn, color, pressable, text } from '../../styles/theme';
6+
import type { AddressReact } from '../types';
7+
import { getSlicedAddress } from '../utils/getSlicedAddress';
8+
import { useIdentityContext } from './IdentityProvider';
99

1010
export function Address({
1111
address = null,

src/wallet/components/WalletBottomSheet.test.tsx

-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ import {
1212
waitFor,
1313
} from '@testing-library/react';
1414
import { type Mock, describe, expect, it, vi } from 'vitest';
15-
import { useAccount } from 'wagmi';
1615
import { WalletBottomSheet } from './WalletBottomSheet';
1716
import { useWalletContext } from './WalletProvider';
1817

src/wallet/components/WalletDropdown.test.tsx

-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ import {
77
waitFor,
88
} from '@testing-library/react';
99
import { type Mock, beforeEach, describe, expect, it, vi } from 'vitest';
10-
import { useAccount } from 'wagmi';
1110
import { Identity } from '../../identity';
1211
import {
1312
IdentityProvider,

0 commit comments

Comments
 (0)