diff --git a/eslint.config.js b/eslint.config.js index 3df3c47f4d..a06872f1d0 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -16,7 +16,6 @@ export default [ "no-tabs": "off", "@typescript-eslint/no-explicit-any": "off", "@typescript-eslint/no-floating-promises": "off", - "@typescript-eslint/no-misused-promises": "off", }, }, ]; diff --git a/src/components/Header.tsx b/src/components/Header.tsx index 10562100d4..6932c7ecb9 100644 --- a/src/components/Header.tsx +++ b/src/components/Header.tsx @@ -125,7 +125,7 @@ const Header = () => { // Fetching health status information at mount loadHealthStatus().then(r => console.info(r)); // Fetch health status every minute - const interval = setInterval(() => dispatch(fetchHealthStatus()), 5000); + const interval = setInterval(() => { dispatch(fetchHealthStatus()); }, 5000); // Event listener for handle a click outside of dropdown menu window.addEventListener("mousedown", handleClickOutside); @@ -345,7 +345,7 @@ const MenuNotify = ({
  • {!!service.status && ( redirectToServices()} + onClick={() => { redirectToServices(); }} > {service.name} {service.error ? ( @@ -468,7 +468,7 @@ const MenuUser = ({ return (