Parcourir la source

Add ability to restart

ElMoribond il y a 3 ans
Parent
commit
bb3ba2d572
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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);