Derp, copy paste error
parent
c9f8554568
commit
2094ca0463
|
@ -142,7 +142,7 @@ export const onOnline = () => dispatchNetworkUp("user.mqtt");
|
|||
|
||||
const attachEventListeners =
|
||||
(bot: Farmbot, dispatch: Function, getState: GetState) => {
|
||||
bot.client.on("reconnect", onOnline);
|
||||
bot.client.on("reconnect", onReconnect);
|
||||
bot.on("online", onOnline);
|
||||
bot.on("offline", onOffline);
|
||||
bot.on("sent", onSent(bot.client));
|
||||
|
|
Loading…
Reference in New Issue