Explorar o código

Add ability to restart

ElMoribond %!s(int64=3) %!d(string=hai) anos
pai
achega
bb3ba2d572
Modificáronse 1 ficheiros con 1 adicións e 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);