Ver Fonte

Add ability to restart

ElMoribond há 3 anos atrás
pai
commit
bb3ba2d572
1 ficheiros alterados com 1 adições e 1 exclusões
  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);