From 997148250658ee391ebb648a814b025e7d25fc26 Mon Sep 17 00:00:00 2001 From: ElMoribond Date: Wed, 23 Jun 2021 14:49:49 +0200 Subject: [PATCH] Add ability to restart --- web/src/api/mqtt.jsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/web/src/api/mqtt.jsx b/web/src/api/mqtt.jsx index e0413efdf..560f8dcce 100644 --- a/web/src/api/mqtt.jsx +++ b/web/src/api/mqtt.jsx @@ -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 }; }