Add ability to restart

This commit is contained in:
ElMoribond 2021-06-23 14:49:49 +02:00 committed by Blake Blackshear
parent 3a87e39a43
commit 36808ce9f8

View File

@ -122,9 +122,8 @@ export function useSnapshotsState(camera) {
export function useRestart() {
const {
value: { payload },
send,
connected,
} = useMqtt(``, `restart`, "container");
} = useMqtt('', 'restart', 'container');
return { send, connected };
}