From e89db13282333e621435fee8a9821a8c202f364b Mon Sep 17 00:00:00 2001 From: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com> Date: Wed, 8 Nov 2023 10:37:54 -0600 Subject: [PATCH] fix restart from webui (#8541) --- web/src/AppBar.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/AppBar.jsx b/web/src/AppBar.jsx index b5bb16c0f..7cc8887a7 100644 --- a/web/src/AppBar.jsx +++ b/web/src/AppBar.jsx @@ -40,7 +40,7 @@ export default function AppBar() { setShowDialog(false); setShowDialogWait(true); sendRestart(); - }, [setShowDialog]); // eslint-disable-line react-hooks/exhaustive-deps + }, [setShowDialog, sendRestart]); const handleDismissRestartDialog = useCallback(() => { setShowDialog(false);