Explorar el Código

Add ability to restart

ElMoribond hace 4 años
padre
commit
9971482506
Se han modificado 1 ficheros con 1 adiciones y 2 borrados
  1. 1 2
      web/src/api/mqtt.jsx

+ 1 - 2
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 };
 }