diff --git a/apps/antalmanac/src/components/Calendar/CourseCalendarEvent.tsx b/apps/antalmanac/src/components/Calendar/CourseCalendarEvent.tsx index b52cf9425..aa96f66b6 100644 --- a/apps/antalmanac/src/components/Calendar/CourseCalendarEvent.tsx +++ b/apps/antalmanac/src/components/Calendar/CourseCalendarEvent.tsx @@ -8,7 +8,7 @@ import { Event } from 'react-big-calendar'; import { Link } from 'react-router-dom'; import { deleteCourse, deleteCustomEvent } from '$actions/AppStoreActions'; -import CustomEventDialog from '$components/Calendar/toolbar/CustomEventDialog/CustomEventDialog'; +import CustomEventDialog from '$components/Calendar/toolbar/CustomEventDialog/'; import ColorPicker from '$components/ColorPicker'; import analyticsEnum, { logAnalytics } from '$lib/analytics'; import buildingCatalogue from '$lib/buildingCatalogue'; diff --git a/apps/antalmanac/src/components/Calendar/toolbar/CustomEventDialog/index.ts b/apps/antalmanac/src/components/Calendar/toolbar/CustomEventDialog/index.ts new file mode 100644 index 000000000..16036f1ec --- /dev/null +++ b/apps/antalmanac/src/components/Calendar/toolbar/CustomEventDialog/index.ts @@ -0,0 +1 @@ +export { default } from './CustomEventDialog'; diff --git a/apps/antalmanac/src/components/Calendar/toolbar/calendar-toolbar.tsx b/apps/antalmanac/src/components/Calendar/toolbar/calendar-toolbar.tsx index eb7c53323..f68fab6e3 100644 --- a/apps/antalmanac/src/components/Calendar/toolbar/calendar-toolbar.tsx +++ b/apps/antalmanac/src/components/Calendar/toolbar/calendar-toolbar.tsx @@ -2,9 +2,8 @@ import { Undo as UndoIcon } from '@mui/icons-material'; import { Box, Button, IconButton, Paper, Tooltip } from '@mui/material'; import { useState, useCallback, useEffect, memo } from 'react'; -import CustomEventDialog from './CustomEventDialog/CustomEventDialog'; - import { undoDelete } from '$actions/AppStoreActions'; +import CustomEventDialog from '$components/Calendar/toolbar/CustomEventDialog'; import { SelectSchedulePopover } from '$components/Calendar/toolbar/schedule-select/schedule-select'; import { ClearScheduleButton } from '$components/buttons/Clear'; import DownloadButton from '$components/buttons/Download'; diff --git a/apps/antalmanac/src/components/RightPane/AddedCourses/CustomEventDetailView.tsx b/apps/antalmanac/src/components/RightPane/AddedCourses/CustomEventDetailView.tsx index 52fdcc5bb..3c6d29201 100644 --- a/apps/antalmanac/src/components/RightPane/AddedCourses/CustomEventDetailView.tsx +++ b/apps/antalmanac/src/components/RightPane/AddedCourses/CustomEventDetailView.tsx @@ -8,7 +8,7 @@ import { Link } from 'react-router-dom'; import ColorPicker from '../../ColorPicker'; import { deleteCustomEvent } from '$actions/AppStoreActions'; -import CustomEventDialog from '$components/Calendar/toolbar/CustomEventDialog/CustomEventDialog'; +import CustomEventDialog from '$components/Calendar/toolbar/CustomEventDialog/'; import analyticsEnum from '$lib/analytics'; import buildingCatalogue from '$lib/buildingCatalogue'; import AppStore from '$stores/AppStore';