WikiEducationFoundation/WikiEduDashboard

View on GitHub
app/assets/javascripts/components/timeline/timeline_handler.jsx

Summary

Maintainability
A
3 hrs
Test Coverage
A
94%

Function TimelineHandler has 89 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const TimelineHandler = (props) => {
  const [reorderable, setReorderable] = useState(false);
  const [editableTitles, setEditableTitles] = useState(false);

// Replace componentDidMount with useEffect hook
Severity: Major
Found in app/assets/javascripts/components/timeline/timeline_handler.jsx - About 3 hrs to fix

    There are no issues that match your filters.

    Category
    Status