client/app/bundles/course/learning-map/components/Node/index.jsx
Function Node
has 64 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const Node = (props) => {
const { canModify, getNodeConnectionPointId, node } = props;
const [isNodeMenuDisplayed, setIsNodeMenuDisplayed] = useState(false);
const zIndex = isNodeMenuDisplayed ? 999 : node.depth + 2;
- Create a ticketCreate a ticket