Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

perf: Modify import type #446

Merged
merged 3 commits into from
Jan 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading