Derp, copy paste error

pull/585/head
Rick Carlino 2017-12-17 09:25:02 -06:00
parent c9f8554568
commit 2094ca0463
1 changed files with 1 additions and 1 deletions

View File

@ -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));