Skip to content

Commit

Permalink
upgrade eslint deps
Browse files Browse the repository at this point in the history
  • Loading branch information
brad-decker committed Mar 31, 2021
1 parent e63fcf1 commit b06e422
Show file tree
Hide file tree
Showing 3 changed files with 281 additions and 77 deletions.
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@
},
"devDependencies": {
"@babel/core": "^7.12.1",
"@babel/eslint-parser": "^7.12.1",
"@babel/eslint-parser": "^7.13.14",
"@babel/eslint-plugin": "^7.12.1",
"@babel/plugin-proposal-class-properties": "^7.5.5",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.10.4",
Expand Down Expand Up @@ -227,14 +227,14 @@
"del": "^3.0.0",
"enzyme": "^3.10.0",
"enzyme-adapter-react-16": "^1.15.1",
"eslint": "^7.7.0",
"eslint": "^7.23.0",
"eslint-config-prettier": "^8.1.0",
"eslint-plugin-import": "^2.22.0",
"eslint-plugin-mocha": "^8.0.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-mocha": "^8.1.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^3.3.1",
"eslint-plugin-react": "~7.20.0",
"eslint-plugin-react-hooks": "^4.0.4",
"eslint-plugin-react": "^7.23.1",
"eslint-plugin-react-hooks": "^4.2.0",
"fancy-log": "^1.3.3",
"fast-glob": "^3.2.2",
"fs-extra": "^8.1.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export default function ListItemSearch({
}
}, [fuseSearchKeys, listToSearch]);

const previousListToSearch = usePrevious(listToSearch) || [];
const previousListToSearch = usePrevious(listToSearch ?? []);
useEffect(() => {
if (
fuseRef.current &&
Expand Down
Loading

0 comments on commit b06e422

Please sign in to comment.