Cleanup a bit more :)
This commit is contained in:
parent
62e85f91d1
commit
a52bc8f7ab
@ -7,7 +7,6 @@ import scrollGrid from '@fullcalendar/scrollgrid';
|
||||
import { DateTime } from 'luxon';
|
||||
import { Icon, IconButton } from 'rsuite';
|
||||
|
||||
|
||||
// FullCalendar props
|
||||
const dayMinWidth = 110;
|
||||
const slotMinTime = '08:00:00';
|
||||
@ -105,8 +104,8 @@ export default function IntervalSelector({
|
||||
<IconButton
|
||||
className={'event-close'}
|
||||
icon={<Icon icon='close' />}
|
||||
appearance="default"
|
||||
size="xs"
|
||||
appearance='default'
|
||||
size='xs'
|
||||
circle
|
||||
onClick={() => handleClick(eventStart, eventEnd)}
|
||||
></IconButton>
|
||||
|
@ -11,11 +11,13 @@ export default function DurationSelector() {
|
||||
setDurationIdx(durationIdx + 1);
|
||||
}
|
||||
};
|
||||
|
||||
const handleDecrement = () => {
|
||||
if (durationIdx > 0) {
|
||||
setDurationIdx(durationIdx - 1);
|
||||
}
|
||||
};
|
||||
|
||||
return (
|
||||
<InputGroup style={{ background: 'white' }}>
|
||||
<InputGroup.Button onClick={handleDecrement}>
|
||||
|
@ -3,7 +3,6 @@ import { Divider, Icon, IconButton } from 'rsuite';
|
||||
|
||||
export default function SelectedDates({ datesList, handleDelete }) {
|
||||
return (
|
||||
<>
|
||||
<ul>
|
||||
{datesList.map((date) => (
|
||||
<li key={date}>
|
||||
@ -19,6 +18,5 @@ export default function SelectedDates({ datesList, handleDelete }) {
|
||||
</li>
|
||||
))}
|
||||
</ul>
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
@ -6,6 +6,7 @@ import { NavBar } from '../components';
|
||||
|
||||
export default function Home() {
|
||||
const { authToken } = useAuth();
|
||||
|
||||
return (
|
||||
<>
|
||||
<NavBar title='Meeting Planner' />
|
||||
|
Loading…
Reference in New Issue
Block a user