Make answer and details actually display
This commit is contained in:
parent
dc849b4119
commit
b34ca64200
@ -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();
|
||||
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user