Actually display events on calendar
This commit is contained in:
parent
941808a67a
commit
8168cfa2c8
@ -86,7 +86,7 @@ export default function () {
|
|||||||
return (
|
return (
|
||||||
<Container maxW="container.lg" h="600px">
|
<Container maxW="container.lg" h="600px">
|
||||||
<Calendar
|
<Calendar
|
||||||
events={data?.eventList}
|
events={data?.calendarData}
|
||||||
localizer={dayjsLocalizer(dayjs)}
|
localizer={dayjsLocalizer(dayjs)}
|
||||||
onSelectSlot={(s) => {
|
onSelectSlot={(s) => {
|
||||||
setDate(s.slots.at(0) as Date);
|
setDate(s.slots.at(0) as Date);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user