Skip to content

Commit

Permalink
chore: add eslint disable mark
Browse files Browse the repository at this point in the history
  • Loading branch information
awmleer committed Apr 9, 2022
1 parent db4b47b commit c7e7c07
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/utils/compatible.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ type ContainerType = (Element | DocumentFragment) & {

let createRoot: (container: ContainerType) => Root
try {
// eslint-disable-next-line @typescript-eslint/no-var-requires
createRoot = require('react-dom/client').createRoot
} catch (e) {}

Expand Down

0 comments on commit c7e7c07

Please sign in to comment.