atlp-rwanda/atlp-devpulse-fn

View on GitHub
src/pages/JobPost/fiterJopPost.tsx

Summary

Maintainability
D
2 days
Test Coverage

Function FilterJobPost has 517 lines of code (exceeds 200 allowed). Consider refactoring.
Open

const FilterJobPost = (props: any) => {
  const { theme, setTheme } = useTheme();
  console.log("props:",props);
  const [filterAttribute, setFilterAttribute] = useState("");
  const [enteredWord, setEnteredWord] = useState("");
Severity: Major
Found in src/pages/JobPost/fiterJopPost.tsx - About 1 day to fix

    File fiterJopPost.tsx has 589 lines of code (exceeds 250 allowed). Consider refactoring.
    Open

    /** @format */
    /* codeclimate-disable */
    
    import React, { useEffect, useState, useMemo, useRef } from "react";
    import { connect } from "react-redux";
    Severity: Major
    Found in src/pages/JobPost/fiterJopPost.tsx - About 1 day to fix

      There are no issues that match your filters.

      Category
      Status