Coursemology/coursemology2

View on GitHub
client/app/bundles/course/learning-map/components/Node/index.jsx

Summary

Maintainability
A
2 hrs
Test Coverage

Function Node has 64 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const Node = (props) => {
  const { canModify, getNodeConnectionPointId, node } = props;

  const [isNodeMenuDisplayed, setIsNodeMenuDisplayed] = useState(false);
  const zIndex = isNodeMenuDisplayed ? 999 : node.depth + 2;
Severity: Major
Found in client/app/bundles/course/learning-map/components/Node/index.jsx - About 2 hrs to fix

There are no issues that match your filters.

Category
Status