Skip to content

Commit a969648

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/hooks/useWinClick.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { warning } from 'rc-util';
1+
import { warning } from 'rc-util/lib/warning';
22
import { getShadowRoot } from 'rc-util/lib/Dom/shadow';
33
import raf from 'rc-util/lib/raf';
44
import * as React from 'react';

0 commit comments

Comments
 (0)