Skip to content

Commit 5795478

Browse files
kiner-tanglke-twh
andauthored
fix: fix throw error cause by import warning from rc-util (#370)
Co-authored-by: kiner-tang(文辉) <[email protected]>
1 parent 695d01e commit 5795478

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)