Skip to content

Commit

Permalink
perf: Modify import type (#446)
Browse files Browse the repository at this point in the history
* perf: Modify import type

* perf: Modify import type

* perf: Modify import type
  • Loading branch information
lxKylin authored Jan 2, 2024
1 parent c549a09 commit 17ca201
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 6 deletions.
5 changes: 5 additions & 0 deletions .changeset/green-adults-divide.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@ant-design/web3-wagmi': patch
---

perf: Modify import type
5 changes: 5 additions & 0 deletions .changeset/wise-sloths-study.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@ant-design/web3': patch
---

perf: Modify import type
5 changes: 5 additions & 0 deletions .changeset/young-cherries-sort.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@ant-design/web3-assets': patch
---

perf: Modify import type
3 changes: 1 addition & 2 deletions packages/assets/src/chains.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { type Chain, ChainIds } from '@ant-design/web3-common';
import { createGetBrowserLink } from '@ant-design/web3-common';
import { type Chain, ChainIds, createGetBrowserLink } from '@ant-design/web3-common';

import {
EthereumCircleColorful,
Expand Down
2 changes: 1 addition & 1 deletion packages/wagmi/src/wagmi-provider/config-provider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {
type Chain,
Web3ConfigProvider,
fillAddressWith0x,
Locale,
type Locale,
} from '@ant-design/web3-common';
import {
useAccount,
Expand Down
3 changes: 1 addition & 2 deletions packages/web3/src/connect-modal/components/ModalPanel.tsx
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
import React from 'react';
import { mergeReactNodeProps } from '../utils';
import type { ConnectModalProps } from '../interface';
import type { ConnectModalProps, PanelRoute, Wallet } from '../interface';
import classNames from 'classnames';
import WalletList from './WalletList';
import MainPanel from './MainPanel';
import { ConfigContext } from 'antd/lib/config-provider';
import { ConnectModalContextProvider } from '../context';
import { useStyle } from '../style';
import useMode from '../hooks/useMode';
import type { PanelRoute, Wallet } from '../interface';
import useIntl from '../../hooks/useIntl';

export type ModalPanelProps = ConnectModalProps;
Expand Down
2 changes: 1 addition & 1 deletion packages/web3/src/nft-card/NFTCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import {
parseNumberToBigint,
getWeb3AssetUrl,
type Web3ConfigProviderProps,
Locale,
type Locale,
} from '@ant-design/web3-common';
import { CryptoPrice, type CryptoPriceProps } from '../crypto-price';
import useIntl from '../hooks/useIntl';
Expand Down

0 comments on commit 17ca201

Please sign in to comment.