Skip to content

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

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";

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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