Skip to content

Commit

Permalink
Linted
Browse files Browse the repository at this point in the history
  • Loading branch information
khomyakov committed Feb 27, 2024
1 parent 967b8cd commit 109242f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
2 changes: 1 addition & 1 deletion src/components/Forms/BaseInput.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import clsx from "clsx";
import PropTypes from "prop-types";
import React, { forwardRef, useEffect } from "react";
import React, { forwardRef } from "react";
import { isEmpty, isString } from "lodash";
import { Dot } from "../Dot/Dot";

Expand Down
9 changes: 1 addition & 8 deletions src/components/Forms/Input.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,7 @@ import { BaseInput } from "./BaseInput";

export const Input = forwardRef(({ className, type = "text", value, ...rest }, ref) => {
return (
<BaseInput
ref={ref}
as="input"
className={clsx("ui-input", className)}
type={type}
value={value}
{...rest}
/>
<BaseInput ref={ref} as="input" className={clsx("ui-input", className)} type={type} value={value} {...rest} />
);
});

Expand Down

0 comments on commit 109242f

Please sign in to comment.