diff --git a/src/components/Calendar/Calendar.css b/src/components/Calendar/Calendar.css index 769dcac..998ca87 100644 --- a/src/components/Calendar/Calendar.css +++ b/src/components/Calendar/Calendar.css @@ -9,6 +9,9 @@ main { height: 90vh; } +.calendarListHeader { + padding-top: 10px; +} .sidebar { border-right: 2px gray; width: 20vw; diff --git a/src/components/Calendar/CalendarSelection.tsx b/src/components/Calendar/CalendarSelection.tsx index 4dab623..c354d82 100644 --- a/src/components/Calendar/CalendarSelection.tsx +++ b/src/components/Calendar/CalendarSelection.tsx @@ -8,7 +8,6 @@ export default function CalendarSelection({ setSelectedCalendars: Function; }) { const userId = useAppSelector((state) => state.user.userData.openpaasId); - const dispatch = useAppDispatch(); const calendars = useAppSelector((state) => state.calendars.list); const personnalCalendars = Object.keys(calendars).filter( (id) => id.split("/")[0] === userId @@ -27,7 +26,9 @@ export default function CalendarSelection({ return (
-

personnalCalendars

+

+

Personnal Calendars

+

{personnalCalendars.map((id) => { return (
@@ -45,7 +46,9 @@ export default function CalendarSelection({ })} {delegatedCalendars.length > 0 && ( <> -

delegatedCalendars

+

+

Delegated Calendars

+

{delegatedCalendars.map((id) => (