Skip to content

Commit 09c46cb

Browse files
committed
fix: fix throw error cause by import warning from rc-util
1 parent 695d01e commit 09c46cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Dialog/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import { getMotionName } from '../util';
1010
import Content from './Content';
1111
import type { ContentRef } from './Content/Panel';
1212
import Mask from './Mask';
13-
import { warning } from 'rc-util';
13+
import { warning } from 'rc-util/lib/warning';
1414

1515
export default function Dialog(props: IDialogPropTypes) {
1616
const {

0 commit comments

Comments
 (0)