From dc8f44207604b5880363cba19e6daa5f12ee2966 Mon Sep 17 00:00:00 2001 From: thinkasany <480968828@qq.com> Date: Wed, 7 Feb 2024 17:37:56 +0800 Subject: [PATCH] fix: devUseWarning reference path (#556) * fix: devUseWarning reference path * update --------- Co-authored-by: kiner-tang <1127031143@qq.com> --- .changeset/breezy-numbers-rush.md | 5 +++++ packages/web3/src/connect-modal/index.tsx | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/breezy-numbers-rush.md diff --git a/.changeset/breezy-numbers-rush.md b/.changeset/breezy-numbers-rush.md new file mode 100644 index 000000000..05a66e336 --- /dev/null +++ b/.changeset/breezy-numbers-rush.md @@ -0,0 +1,5 @@ +--- +'@ant-design/web3': minor +--- + +fix: devUseWarning reference path diff --git a/packages/web3/src/connect-modal/index.tsx b/packages/web3/src/connect-modal/index.tsx index bf88783cf..2782754aa 100644 --- a/packages/web3/src/connect-modal/index.tsx +++ b/packages/web3/src/connect-modal/index.tsx @@ -1,8 +1,8 @@ import React from 'react'; +import { devUseWarning } from '@ant-design/web3-common'; import { ConfigProvider, Modal } from 'antd'; import classNames from 'classnames'; -import { devUseWarning } from '../../../common/src/utils/warning'; import ModalPanel from './components/ModalPanel'; import useMode from './hooks/useMode'; import type { ConnectModalProps } from './interface';