Skip to content

Commit

Permalink
code style
Browse files Browse the repository at this point in the history
  • Loading branch information
jeetiss committed Apr 24, 2024
1 parent 02b6dc1 commit df30856
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/wouter/src/react-deps.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import * as React from "react";

// React.useInsertionEffect is not available in React <18
// This hack fixes a transpilation issue on some apps
const useBuiltinInsertionEffect = React['useInsertion' + 'Effect'];
const useBuiltinInsertionEffect = React["useInsertion" + "Effect"];

export {
useRef,
Expand Down

0 comments on commit df30856

Please sign in to comment.