diff --git a/README.md b/README.md index ebb904f37..4a2d7a0bc 100644 --- a/README.md +++ b/README.md @@ -45,7 +45,6 @@ You will need the following: 0. `rake db:create:all db:migrate db:seed` 0. (optional) Verify installation with `RAILS_ENV=test rake db:create db:migrate && rspec spec` (API) and `npm run test` (Frontend). 0. Start server with `npm run dev`. Make sure you set an `MQTT_HOST` entry in `application.yml` pointing to the IP address or domain of the (soon-to-be-installed) MQTT server. You will need to set that up next. - 0. Now that the API server is running, [provision an MQTT server](https://github.com/FarmBot/mqtt-gateway). 0. Open [localhost:3000](http://localhost:3000). 0. Although you can now try things out in your browser, you will still need to [provision an MQTT server](https://github.com/FarmBot/mqtt-gateway) before you can control a FarmBot. 0. [Raise an issue](https://github.com/FarmBot/Farmbot-Web-App/issues/new?title=Installation%20Failure) if you hit problems with any of these steps. *We can't fix issues we don't know about.* diff --git a/webpack/devices/components/os_update_button.tsx b/webpack/devices/components/os_update_button.tsx index 19cf0aca6..5b0c66b6a 100644 --- a/webpack/devices/components/os_update_button.tsx +++ b/webpack/devices/components/os_update_button.tsx @@ -59,8 +59,6 @@ export let OsUpdateButton = ({ bot }: BotProp) => { { let os_auto_update = !osUpdateBool ? 1 : 0; - // TODO: This no longer needs to be a thunk - // since it does not change redux state. updateConfig({ os_auto_update })(noop); }} /> diff --git a/webpack/farmware/weed_detector/farmbot_picker.tsx b/webpack/farmware/weed_detector/farmbot_picker.tsx index 536b7dfbc..561107df7 100644 --- a/webpack/farmware/weed_detector/farmbot_picker.tsx +++ b/webpack/farmware/weed_detector/farmbot_picker.tsx @@ -19,21 +19,21 @@ export class FarmbotColorPicker extends React.Component } hueCSS = (): React.CSSProperties => { - // TODO: Investigate if this is a bug with our code or @types/react: - // CC @Chris - let position: any = "relative"; - let width = "100%"; - let paddingBottom = "10%"; - let overflow: any = "hidden"; - return { position, width, paddingBottom, overflow }; + return { + position: "relative", + width: "100%", + paddingBottom: "10%", + overflow: "hidden" + }; } saturationCSS = (): React.CSSProperties => { - let position: any = "relative"; - let width = "100%"; - let paddingBottom = "35%"; - let overflow: any = "hidden"; - return { position, width, paddingBottom, overflow }; + return { + position: "relative", + width: "100%", + paddingBottom: "35%", + overflow: "hidden" + }; } hueboxCSS = (): React.CSSProperties => { @@ -79,7 +79,7 @@ export class FarmbotColorPicker extends React.Component
@@ -87,7 +87,7 @@ export class FarmbotColorPicker extends React.Component