Skip to content

Commit

Permalink
fix: fix throw error cause by import warning from rc-util
Browse files Browse the repository at this point in the history
  • Loading branch information
lke-twh committed Oct 20, 2023
1 parent 22d0ce8 commit dd10ac4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hooks/useWinClick.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { warning } from 'rc-util';
import { warning } from 'rc-util/lib/warning';
import { getShadowRoot } from 'rc-util/lib/Dom/shadow';
import raf from 'rc-util/lib/raf';
import * as React from 'react';
Expand Down

0 comments on commit dd10ac4

Please sign in to comment.