radar/twist-v2

View on GitHub
frontend/src/Book/Branches/Branch.tsx

Summary

Maintainability
A
1 hr
Test Coverage

Function Branch has 36 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const Branch: FunctionComponent<BranchProps> = (props) => {
  const [updateBranch] = useUpdateBranchMutation({ errorPolicy: "all" });
  const { bookPermalink, bookTitle, name, commits } = props;

  const [message, setMessage] = useState<string>("");
Severity: Minor
Found in frontend/src/Book/Branches/Branch.tsx - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status