Skip to content

Bug Report: Circular Import Dependencies in Event Calendar Component #11

@slashez30

Description

@slashez30

The event-calendar.tsx file contains circular import dependencies that cause TypeScript compilation errors and prevent proper module resolution.

Error Messages

Circular definition of import alias 'addHoursToDate'.ts(2303)
Module '"@/components/event-calendar"' declares 'addHoursToDate' locally, but it is not exported.ts(2459)

In
event-calendar.tsx
(line 24), the file is importing utilities from its own module path:

import {
  addHoursToDate,
  AgendaDaysToShow,
  AgendaView,
  CalendarDndProvider,
  CalendarEvent,
  CalendarView,
  DayView,
  EventDialog,
  EventGap,
  EventHeight,
  MonthView,
  WeekCellsHeight,
  WeekView,
} from "@/components/event-calendar";

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions