diff --git a/package-lock.json b/package-lock.json index b20e8608..9ff31097 100644 --- a/package-lock.json +++ b/package-lock.json @@ -100,7 +100,7 @@ "eslint": "^8.57.0", "eslint-plugin-react": "^7.34.1", "eslint-plugin-react-hooks": "^4.6.0", - "eslint-plugin-react-refresh": "^0.4.6", + "eslint-plugin-react-refresh": "^0.4.18", "i18next-parser": "^9.1.0", "istanbul": "^0.4.5", "istanbul-lib-coverage": "^3.2.2", @@ -5616,12 +5616,13 @@ } }, "node_modules/eslint-plugin-react-refresh": { - "version": "0.4.6", - "resolved": "https://registry.npmjs.org/eslint-plugin-react-refresh/-/eslint-plugin-react-refresh-0.4.6.tgz", - "integrity": "sha512-NjGXdm7zgcKRkKMua34qVO9doI7VOxZ6ancSvBELJSSoX97jyndXcSoa8XBh69JoB31dNz3EEzlMcizZl7LaMA==", + "version": "0.4.18", + "resolved": "https://registry.npmjs.org/eslint-plugin-react-refresh/-/eslint-plugin-react-refresh-0.4.18.tgz", + "integrity": "sha512-IRGEoFn3OKalm3hjfolEWGqoF/jPqeEYFp+C8B0WMzwGwBMvlRDQd06kghDhF0C61uJ6WfSDhEZE/sAQjduKgw==", "dev": true, + "license": "MIT", "peerDependencies": { - "eslint": ">=7" + "eslint": ">=8.40" } }, "node_modules/eslint-plugin-react/node_modules/brace-expansion": { diff --git a/package.json b/package.json index 343c448f..4cb9afb9 100644 --- a/package.json +++ b/package.json @@ -131,7 +131,7 @@ "eslint": "^8.57.0", "eslint-plugin-react": "^7.34.1", "eslint-plugin-react-hooks": "^4.6.0", - "eslint-plugin-react-refresh": "^0.4.6", + "eslint-plugin-react-refresh": "^0.4.18", "i18next-parser": "^9.1.0", "istanbul": "^0.4.5", "istanbul-lib-coverage": "^3.2.2", diff --git a/src/components/LayerList.tsx b/src/components/LayerList.tsx index a066aa8d..9495cae7 100644 --- a/src/components/LayerList.tsx +++ b/src/components/LayerList.tsx @@ -318,14 +318,7 @@ class LayerListContainerInternal extends React.Component ) type LayerListProps = LayerListContainerProps & {