Skip to content

Commit 2227d68

Browse files
committed
Fix test errors
1 parent 301e0c4 commit 2227d68

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

.eslintrc.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@
9494
"react-hooks/exhaustive-deps": "warn",
9595
"react/no-unescaped-entities": ["error", { "forbid": [">", "}"] }],
9696
"spaced-comment": "error",
97-
"use-isnan": "error"
97+
"use-isnan": "error",
98+
"react/react-in-jsx-scope": "off"
9899
}
99100
}

babel.config.js

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,13 @@
11
module.exports = {
22
presets: [
33
['@babel/preset-env', { targets: { esmodules: true } }],
4-
'@babel/preset-react',
4+
[
5+
'@babel/preset-react',
6+
{
7+
runtime: 'automatic'
8+
}
9+
],
510
'@babel/preset-flow',
611
'@babel/preset-typescript'
712
]
8-
};
13+
};

0 commit comments

Comments
 (0)