Skip to content

Commit

Permalink
fix: fix throw error cause by import warning from rc-util (#370)
Browse files Browse the repository at this point in the history
Co-authored-by: kiner-tang(文辉) <134478213+lke-twh@users.noreply.github.com>
  • Loading branch information
kiner-tang and lke-twh committed Oct 20, 2023
1 parent 695d01e commit 5795478
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Dialog/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import { getMotionName } from '../util';
import Content from './Content';
import type { ContentRef } from './Content/Panel';
import Mask from './Mask';
import { warning } from 'rc-util';
import { warning } from 'rc-util/lib/warning';

export default function Dialog(props: IDialogPropTypes) {
const {
Expand Down

0 comments on commit 5795478

Please sign in to comment.