Flow and lint fix
Brian Vaughn committed
Apr 15, 2019 at 09:43 UTC
8c974ae4329b0060c4238489966f64567b73c931
2 files changed
+2
.eslintrc
+1
@@ -3,6 +3,7 @@
3
"plugins": ["react-hooks"],
4
"rules": {
5
"jsx-a11y/anchor-has-content": "off",
6
+ "no-loop-func": "off",
7
"react-hooks/exhaustive-deps": "error",
8
"react-hooks/rules-of-hooks": "error"
9
},
src/__tests__/store-test.js
+1
@@ -310,6 +310,7 @@ describe('Store', () => {
310
311
// 7. Same as the previous step, but for Concurrent Mode.
312
container = document.createElement('div');
313
+ // $FlowFixMe
314
let root = ReactDOM.unstable_createRoot(container);
315
for (let i = 0; i < cases.length; i++) {
316
// Verify mounting 'abcde'.