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