Skip to content

Commit

Permalink
refactor: export custom-event-dialog from index
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinWu098 committed Dec 11, 2024
1 parent 0d0bd3d commit 8c754a2
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { default } from './CustomEventDialog';
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down

0 comments on commit 8c754a2

Please sign in to comment.