pranshuchittora/autarky

View on GitHub
src/ui/components/TextInput/index.tsx

Summary

Maintainability
A
1 hr
Test Coverage

Function TextInput has 29 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const TextInput: React.FunctionComponent<ITextInputProps> = props => {
  const [query, setQuery] = useState<string>("");
  const [submitted, setSubmitted] = useState<boolean>(false);
  const handleChange = (q: string) => {
    setQuery(props.onChange(q));
Severity: Minor
Found in src/ui/components/TextInput/index.tsx - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status