Skip to content

Commit

Permalink
fix restart from webui (blakeblackshear#8541)
Browse files Browse the repository at this point in the history
  • Loading branch information
hawkeye217 committed Nov 8, 2023
1 parent fe65777 commit e89db13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/src/AppBar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit e89db13

Please sign in to comment.