Add ability to restart

This commit is contained in:
ElMoribond 2021-06-23 14:49:49 +02:00 committed by Blake Blackshear
parent 955d9e6ec2
commit 9971482506

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 };
}