diff --git a/app/components/common/drawer/index.tsx b/app/components/common/drawer/index.tsx index 5640267..9b80e5b 100644 --- a/app/components/common/drawer/index.tsx +++ b/app/components/common/drawer/index.tsx @@ -9,53 +9,51 @@ interface DrawerProps { toggleDrawer: () => void; } -const Drawer: React.FC = ({ event, isDrawerVisible, toggleDrawer }) => { - return ( -
-
-
+const Drawer: React.FC = ({ event, isDrawerVisible, toggleDrawer }) => ( +
+
+
+
+
+ +
+

{event.title}

+ +

+ {dayjs(event.start).format('MMMM DD, YYYY h A')} -{' '} + {dayjs(event.end).format('MMMM DD, YYYY h A')} +

+

{event.location}

+

{event.description}

+

People

-
- -
-

{event.title}

- -

- {dayjs(event.start).format('MMMM DD, YYYY h A')} - {dayjs(event.end).format('MMMM DD, YYYY h A')} -

-

{event.location}

-

{event.description}

-

People

-
- {event.attendees?.map(({ attendee }) => ( -
-
-

- {attendee.email} -

-
- ))} -
+ {event.attendees?.map(({ attendee }) => ( +
+
+

+ {attendee.email} +

+
+ ))}
-
+
- ); -}; +
+); export default Drawer;