sandworm-hq/sandworm-js

View on GitHub
cli/frontend/src/components/Activity.jsx

Summary

Maintainability
A
2 hrs
Test Coverage

Function Activity has 66 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const Activity = () => {
  const [selected, setSelected] = useState(null);
  const {history, selectedModule} = useContext(DataContext);
  const moduleHistory = useMemo(
    () => (history || []).filter((e) => e?.module === selectedModule),
Severity: Major
Found in cli/frontend/src/components/Activity.jsx - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status