Add ability to restart

disable warning
This commit is contained in:
ElMoribond
2021-07-06 06:59:33 -05:00
committed by Blake Blackshear
parent c611a48a73
commit 3a0865e2bc
+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 };