Explorar o código

Add ability to restart

disable warning
ElMoribond %!s(int64=3) %!d(string=hai) anos
pai
achega
fd61ca20b0
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      web/src/api/mqtt.jsx

+ 1 - 1
web/src/api/mqtt.jsx

@@ -87,7 +87,7 @@ export function useMqtt(watchTopic, publishTopic, defaultValue = null) {
         })
       );
     },
-    [ws, watchTopic, publishTopic]
+    [ws, watchTopic, publishTopic] // eslint-disable-line react-hooks/exhaustive-deps
   );
 
   return { value, send, connected: state.__connected };