Add ability to restart

disable warning
This commit is contained in:
ElMoribond
2021-07-06 07:36:37 -05:00
committed by Blake Blackshear
parent f9add57ed4
commit fd61ca20b0
+1 -1
View File
@@ -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 }; return { value, send, connected: state.__connected };