nexxtway/react-rainbow

View on GitHub
src/components/WeeklyCalendar/hours.js

Summary

Maintainability
A
1 hr
Test Coverage

Function Hours has 42 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const Hours = React.forwardRef((props, ref) => {
    const { today, setToday, locale } = props;
    const clock = useTimer();
    useEffect(() => {
        if (!isSameDay(today, clock)) {
Severity: Minor
Found in src/components/WeeklyCalendar/hours.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status