Skip to content

Commit

Permalink
fix: devUseWarning reference path (#556)
Browse files Browse the repository at this point in the history
* fix: devUseWarning reference path

* update

---------

Co-authored-by: kiner-tang <1127031143@qq.com>
  • Loading branch information
thinkasany and kiner-tang authored Feb 7, 2024
1 parent 5f0f777 commit dc8f442
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/breezy-numbers-rush.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@ant-design/web3': minor
---

fix: devUseWarning reference path
2 changes: 1 addition & 1 deletion packages/web3/src/connect-modal/index.tsx
Original file line number Diff line number Diff line change
@@ -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';
Expand Down

0 comments on commit dc8f442

Please sign in to comment.