this was bothering me

This commit is contained in:
MeowcaTheoRange 2024-04-25 17:54:41 -05:00
parent dd0225fea4
commit 49d886a6f2

View file

@ -113,12 +113,14 @@ export default async function Home({
<ConditionalNull condition={existingUser?.admin || jam.author_id == jam.id}><p><a href={`/jams/delete/jam/${jam.id}`}>Delete jam</a></p></ConditionalNull>
</div>
</ConditionalNull>
<br />
<div style={{textAlign: 'center'}}>
<p>The theme is:</p>
<h1>{jam.theme || "To be announced"}</h1>
<p>{jam.theme_description || "Something exciting, maybe?"}</p>
<ConditionalNull condition={existingUser != null && started && !ended}><p><a href={`/jams/new/content/${jam.id}`}>Submit something</a></p></ConditionalNull>
</div>
<br />
<ConditionalNull condition={contentWinners.length > 0}>
<h1>Winners</h1>
{contentWinners.map(async (content:JSONContentTable) => {