nexxtway/react-rainbow

View on GitHub
src/components/WeeklyCalendar/week/event.js

Summary

Maintainability
A
1 hr
Test Coverage

Function Event has 27 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export default function Event(props) {
    const { onEventClick, locale, ...event } = props;
    const { title, startDate, endDate, color, backgroundColor } = event;
    const eventId = useUniqueIdentifier('calendar-event');
    const duration = useEventDuration(startDate, endDate);
Severity: Minor
Found in src/components/WeeklyCalendar/week/event.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status