Linter fixes

pull/1137/head
Rick Carlino 2019-04-03 10:22:36 -05:00
parent 8b5c0720fa
commit 02fbf54896
22 changed files with 0 additions and 23 deletions

View File

@ -3,7 +3,6 @@ import { Widget, WidgetHeader, WidgetBody, Row, Col } from "../../ui";
import { Content } from "../../constants";
import { t } from "../../i18next_wrapper";
export function ExportAccountPanel(props: { onClick: () => void }) {
return <Widget>
<WidgetHeader title={t("Export Account Data")} />

View File

@ -1,7 +1,6 @@
import * as React from "react";
import { t } from "../../i18next_wrapper";
interface SPTTProps {
tooltip?: string | undefined;
}

View File

@ -5,7 +5,6 @@ import { bitArray } from "../../util";
import { TRUTH_TABLE } from "./truth_table";
import { t } from "../../i18next_wrapper";
export type DiagnosisName =
| "userAPI"
| "userMQTT"

View File

@ -7,7 +7,6 @@ import { TaggedFarmEvent } from "farmbot";
import { EditFEForm } from "./edit_fe_form";
import { t } from "../../i18next_wrapper";
@connect(mapStateToPropsAddEdit)
export class EditFarmEvent extends React.Component<AddEditFarmEventProps, {}> {
redirect() {

View File

@ -2,7 +2,6 @@ import * as React from "react";
import { Popover, Position } from "@blueprintjs/core";
import { t } from "../../../i18next_wrapper";
export interface LayerToggleProps {
label: string;
value: boolean | undefined;

View File

@ -6,7 +6,6 @@ import {
import { Content } from "../../constants";
import { t } from "../../i18next_wrapper";
/** A stripped down version of OFSearchResult */
interface Result {
crop: {

View File

@ -5,7 +5,6 @@ import {
} from "farmbot";
import { t } from "../i18next_wrapper";
const addMinorAndPatchZeros = (version: string | undefined): string =>
version ? ">=" + version + ".0.0" : "";

View File

@ -2,7 +2,6 @@ import * as React from "react";
import { Col, Widget, WidgetHeader, WidgetBody, BlurableInput, Row } from "../ui/index";
import { t } from "../i18next_wrapper";
export interface ForgotPasswordProps {
onGoBack(e: React.MouseEvent<HTMLButtonElement>): void;
onSubmit(e: React.FormEvent<HTMLFormElement>): void;

View File

@ -2,7 +2,6 @@ import * as React from "react";
import { WidgetBody, Row } from "../ui/index";
import { t } from "../i18next_wrapper";
export function ResendPanelBody(props: { onClick(): void; }) {
return <WidgetBody>
<form>

View File

@ -3,7 +3,6 @@ import { WeekRowProps, DayProps, DAYS } from "./interfaces";
import { toggleDay } from "./actions";
import { t } from "../../i18next_wrapper";
export function WeekRow({ index, dispatch, week }: WeekRowProps) {
return <div className="week-row">
<label className="week-label">{t("Week")} {index + 1}</label>

View File

@ -8,7 +8,6 @@ import {
import { Content } from "../../constants";
import { t } from "../../i18next_wrapper";
export function RegimenEditor(props: RegimenEditorProps) {
const { current, dispatch, calendar } = props;
const regimen = current;

View File

@ -8,7 +8,6 @@ import {
import { Content } from "../constants";
import { t } from "../i18next_wrapper";
export class SequenceEditorMiddle
extends React.Component<SequenceEditorMiddleProps, {}> {
render() {

View File

@ -1,7 +1,6 @@
import { DropDownItem } from "../../../ui";
import { t } from "../../../i18next_wrapper";
export const MOUNTED_TO = t("Mounted to:");
export const DISMOUNT: DropDownItem = { label: t("Not Mounted"), value: 0 };

View File

@ -1,5 +1,3 @@
import {
selectAllSavedPeripherals,
selectAllSavedSensors

View File

@ -5,7 +5,6 @@ import { StepWrapper, StepHeader, StepContent } from "../step_ui/index";
import { StepRadio } from "../step_ui/step_radio";
import { t } from "../../i18next_wrapper";
export function TileCalibrate(props: StepParams) {
const { dispatch, currentStep, index, currentSequence } = props;
const className = "calibrate-step";

View File

@ -5,7 +5,6 @@ import { StepWrapper, StepHeader, StepContent } from "../step_ui/index";
import { StepRadio } from "../step_ui/step_radio";
import { t } from "../../i18next_wrapper";
export function TileSetZero(props: StepParams) {
const { dispatch, currentStep, index, currentSequence } = props;
const className = "set-zero-step";

View File

@ -2,7 +2,6 @@ import * as React from "react";
import { Col, Row } from "../../ui";
import { t } from "../../i18next_wrapper";
export function ToolBayHeader() {
return <Row>
<Col xs={1}>

View File

@ -2,7 +2,6 @@ import * as React from "react";
import { Col, ToolTip, DocSlug } from ".";
import { t } from "../i18next_wrapper";
interface CenterProps {
children?: React.ReactNode;
className: string;

View File

@ -1,7 +1,6 @@
import * as React from "react";
import { t } from "../i18next_wrapper";
export enum EmptyStateGraphic {
plants = "plants",
crops = "crops",

View File

@ -2,7 +2,6 @@ import * as React from "react";
import { defensiveClone } from "../util";
import { t } from "../i18next_wrapper";
type ImgTag = React.HTMLProps<HTMLImageElement>;
interface Props extends ImgTag {

View File

@ -2,7 +2,6 @@ import * as React from "react";
import { Col, ToolTip } from ".";
import { t } from "../i18next_wrapper";
interface LeftPanelProps {
children?: React.ReactNode;
className: string;

View File

@ -2,7 +2,6 @@ import * as React from "react";
import { Col, ToolTip } from ".";
import { t } from "../i18next_wrapper";
interface RightPanelProps {
children?: React.ReactNode;
className: string;