mirror of
https://github.com/blakeblackshear/frigate.git
synced 2024-11-21 19:07:46 +01:00
fix restart from webui (#8541)
This commit is contained in:
parent
fe6577736e
commit
e89db13282
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user