This commit is contained in:
uwap 2017-11-06 06:23:06 +01:00
parent 4a19d8d45e
commit 735737f4a2

View file

@ -30,7 +30,6 @@ export default function connectMqtt(url: string, store: Store<*,*>) {
store.dispatch({ type: null });
});
client.on("reconnect", () => {
client.end();
store.dispatch({ type: null });
});
}