Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Make answer and details actually display
  • Loading branch information
regalijan committed Feb 26, 2024
1 parent dc849b4 commit b34ca64
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/routes/events-team.tsx
Expand Up @@ -33,7 +33,7 @@ export async function loader({ context }: { context: RequestContext }) {

const now = new Date();
const monthEventList = await context.env.D1.prepare(
"SELECT approved, created_by, day, id, month, pending, type, year FROM events WHERE month = ? AND year = ?;",
"SELECT answer, approved, created_by, day, details, id, month, pending, type, year FROM events WHERE month = ? AND year = ?;",
)
.bind(now.getUTCMonth() + 1, now.getUTCFullYear())
.all();
Expand Down Expand Up @@ -158,7 +158,7 @@ export default function () {
</Box>
{event.type === "rotw" ? (
<Box>
<Heading size="sm">RIDDLE ANSWER</Heading>
<Heading size="sm">Riddle Answer</Heading>
<Text fontSize="sm" pt="2">
{event.answer}
</Text>
Expand Down

0 comments on commit b34ca64

Please sign in to comment.