Explorar el Código

Add ability to restart

ElMoribond hace 3 años
padre
commit
bb3ba2d572
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      web/src/AppBar.jsx

+ 1 - 1
web/src/AppBar.jsx

@@ -40,7 +40,7 @@ export default function AppBar() {
     setShowDialog(false);
     setShowDialogWait(true);
     sendRestart();
-  }, [setShowDialog]);
+  }, [setShowDialog]); // eslint-disable-line react-hooks/exhaustive-deps
 
   const handleDismissRestartDialog = () => {
     setShowDialog(false);