From fd61ca20b009e6b890a169be97adcff2b7c6268d Mon Sep 17 00:00:00 2001 From: ElMoribond Date: Thu, 24 Jun 2021 08:57:21 +0200 Subject: [PATCH] Add ability to restart disable warning --- web/src/api/mqtt.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/api/mqtt.jsx b/web/src/api/mqtt.jsx index 29f6b1634..734c55713 100644 --- a/web/src/api/mqtt.jsx +++ b/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 };