diff --git a/app/routes/events-calendar.tsx b/app/routes/events-calendar.tsx
index ded5fd4..3b8a718 100644
--- a/app/routes/events-calendar.tsx
+++ b/app/routes/events-calendar.tsx
@@ -13,6 +13,7 @@ import {
Box,
Button,
Container,
+ Heading,
Modal,
ModalBody,
ModalCloseButton,
@@ -20,6 +21,7 @@ import {
ModalFooter,
ModalHeader,
ModalOverlay,
+ Text,
useDisclosure,
} from "@chakra-ui/react";
import { useLoaderData } from "@remix-run/react";
@@ -104,20 +106,31 @@ export default function () {
Event Info
- Host:{" "}
- {
- (
- data.memberData.find((m) => m.id === eventData.created_by) as {
- [k: string]: any;
- }
- )?.name
- }
+ Host
+
+ {
+ (
+ data.memberData.find(
+ (m) => m.id === eventData.created_by,
+ ) as {
+ [k: string]: any;
+ }
+ )?.name
+ }
+
- Event Type: {eventData?.type?.toUpperCase()}
+ Event Type
+ {eventData?.type?.toUpperCase()}
- Details: {eventData?.details}
+ Details
+ {eventData?.details}
- Answer: {eventData?.type === "rotw" ? eventData.answer : "N/A"}
+ {eventData?.type === "rotw" ? (
+ <>
+ Answer
+ {eventData.answer}
+ >
+ ) : null}