diff --git a/src/app/jams/content/[content]/page.tsx b/src/app/jams/content/[content]/page.tsx index 822030c..473541a 100644 --- a/src/app/jams/content/[content]/page.tsx +++ b/src/app/jams/content/[content]/page.tsx @@ -88,12 +88,12 @@ export default async function Home({
Submitted by {`${contentOwner.username}@${contentOwner.instance}`} to {submittedJam.name} - {new Date(parseInt(content.submitted)).toDateString()}
+Submitted by {`${contentOwner.username}@${contentOwner.instance}`} to {submittedJam?.name} - {new Date(parseInt(content.submitted)).toDateString()}
Submitted by {`${contentOwner.username}@${contentOwner.instance}`} {new Date(parseInt(content.submitted)).toDateString()}
WINNER!
{content.description}
diff --git a/src/app/jams/user/[user]/page.tsx b/src/app/jams/user/[user]/page.tsx index 6277655..7b40e1d 100644 --- a/src/app/jams/user/[user]/page.tsx +++ b/src/app/jams/user/[user]/page.tsx @@ -146,13 +146,18 @@ export default async function Home({ .selectAll() .executeTakeFirst() as unknown as JSONJamTable; - if (submittedJam == null) returnAn error occured.
; + // if (submittedJam == null) returnAn error occured.
; return (Submitted {new Date(parseInt(content.submitted)).toDateString()} to {submittedJam.name}
+Submitted to {submittedJam?.name} - {new Date(parseInt(content.submitted)).toDateString()}
+Submitted on {new Date(parseInt(content.submitted)).toDateString()}
+{content.description}
Published {new Date(parseInt(judgement.published)).toDateString()} on {submittedContent.name}
+Published on {new Date(parseInt(judgement.published)).toDateString()} on {submittedContent.name}
{judgement.content}
); })}