Add ability to restart

disable warning
This commit is contained in:
ElMoribond authored and Blake Blackshear committed 2021-07-06 07:36:37 -05:00
1 parent f9add57ed4
commit fd61ca20b0
1 file changed
+1 -1
+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 };