Skip to content

Commit

Permalink
fix: useImperativeMethods to useImperativeHandle (#20194)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jack-Works committed Nov 8, 2020
1 parent 6b28eb6 commit c29710a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/react-refresh/src/ReactFreshBabelPlugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -226,8 +226,8 @@ export default function(babel, opts = {}) {
case 'React.useRef':
case 'useContext':
case 'React.useContext':
case 'useImperativeMethods':
case 'React.useImperativeMethods':
case 'useImperativeHandle':
case 'React.useImperativeHandle':
case 'useDebugValue':
case 'React.useDebugValue':
return true;
Expand Down

0 comments on commit c29710a

Please sign in to comment.