hide submission

This commit is contained in:
MeowcaTheoRange 2024-04-26 10:52:03 -05:00
parent 49d886a6f2
commit 012d34ce92

View file

@ -159,6 +159,7 @@ export default async function Home({
</div>); </div>);
})} })}
</ConditionalNull> </ConditionalNull>
<ConditionalNull condition={started || content.length > 0}>
<h1>Submissions</h1> <h1>Submissions</h1>
{content.map(async (content:JSONContentTable) => { {content.map(async (content:JSONContentTable) => {
let contentOwner = await db let contentOwner = await db
@ -177,6 +178,7 @@ export default async function Home({
<p>{content.description}</p> <p>{content.description}</p>
</div>); </div>);
})} })}
</ConditionalNull>
<div className="navigation"> <div className="navigation">
<ConditionalNull condition={curPage < curDate}> <ConditionalNull condition={curPage < curDate}>
<Link href={`?`}>Later</Link> <Link href={`?`}>Later</Link>