From b6df322d65ba7c2a5d777d3be290fda8d8766c3b Mon Sep 17 00:00:00 2001 From: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com> Date: Wed, 8 Nov 2023 07:16:12 -0600 Subject: [PATCH] fix restart from webui --- 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);