Skip to content

Commit

Permalink
fix react-deps.js
Browse files Browse the repository at this point in the history
fix RollupError: [commonjs--resolver] node_modules/wouter/esm/react-deps.js (8:2): Identifier "useRef" has already been declared
  • Loading branch information
huazhuangnan committed Apr 9, 2024
1 parent cf9ba61 commit 419a1a4
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/wouter/src/react-deps.js
Expand Up @@ -11,7 +11,6 @@ const {
const useBuiltinInsertionEffect = React['useInsertion' + 'Effect'];

export {
useRef,
useState,
useContext,
createContext,
Expand Down

0 comments on commit 419a1a4

Please sign in to comment.