Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Etheryte committed Oct 2, 2024
1 parent a892e37 commit d50da32
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
7 changes: 6 additions & 1 deletion web/html/src/components/input/text/Text.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,12 @@ export default () => {
validate={Validation.minLength(2)}
/>
<p className="col-md-offset-3 offset-md-3 col-md-6">(Last name has no label.)</p>
<Text name="lastname" required divClass="col-md-6 col-md-offset-3 offset-md-3" validate={Validation.minLength(2)} />
<Text
name="lastname"
required
divClass="col-md-6 col-md-offset-3 offset-md-3"
validate={Validation.minLength(2)}
/>
<SubmitButton className="btn-success" text={t("Submit")} />
</Form>
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ import * as React from "react";

import _isNil from "lodash/isNil";

import { Validation } from "components/input";
import { FormContext } from "components/input/form/Form";
import { FormMultiInput } from "components/input/form-multi-input/FormMultiInput";
import { Range } from "components/input/range/Range";
import { Text } from "components/input/text/Text";
import { Panel } from "components/panels/Panel";
import { Validation } from "components/input";

import { NetworkAddress } from "./NetworkAddress";
import * as utils from "./utils";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import * as React from "react";

import { Validation } from "components/input";
import { FormContext } from "components/input/form/Form";
import { Radio } from "components/input/radio/Radio";
import { Text } from "components/input/text/Text";
import { Validation } from "components/input";

import * as utils from "./utils";

Expand Down

0 comments on commit d50da32

Please sign in to comment.