mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-01 16:55:21 +03:00
Add ability to restart
This commit is contained in:
parent
3a87e39a43
commit
36808ce9f8
@ -122,9 +122,8 @@ export function useSnapshotsState(camera) {
|
|||||||
|
|
||||||
export function useRestart() {
|
export function useRestart() {
|
||||||
const {
|
const {
|
||||||
value: { payload },
|
|
||||||
send,
|
send,
|
||||||
connected,
|
connected,
|
||||||
} = useMqtt(``, `restart`, "container");
|
} = useMqtt('', 'restart', 'container');
|
||||||
return { send, connected };
|
return { send, connected };
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user