error
This commit is contained in:
parent
c553f9bfff
commit
86e593eb4c
1 changed files with 3 additions and 1 deletions
|
@ -1,3 +1,5 @@
|
||||||
|
// @ts-nocheck
|
||||||
|
|
||||||
import { MainLayout } from "@/layout/MainLayout/MainLayout";
|
import { MainLayout } from "@/layout/MainLayout/MainLayout";
|
||||||
import { cookies } from "next/headers";
|
import { cookies } from "next/headers";
|
||||||
import { db, JamTable, UserTable } from "@/lib/mastoauth/kysely";
|
import { db, JamTable, UserTable } from "@/lib/mastoauth/kysely";
|
||||||
|
@ -84,7 +86,7 @@ export default async function Home({
|
||||||
<MainLayout currentPage="/jams/" title={content.name} subtitle="Jams" backButton>
|
<MainLayout currentPage="/jams/" title={content.name} subtitle="Jams" backButton>
|
||||||
<h1>{content.name}</h1>
|
<h1>{content.name}</h1>
|
||||||
<p><a href={content.url} target="_blank">{content.url}</a></p>
|
<p><a href={content.url} target="_blank">{content.url}</a></p>
|
||||||
<ConditionalNull condition={submittedJam != null}>
|
<ConditionalNull condition={submittedJam != null}>
|
||||||
<p><small>Submitted by <a href={`/jams/user/${contentOwner.id}`}>{`${contentOwner.username}@${contentOwner.instance}`}</a> to <a href={`/jams/jam/${submittedJam.id}?until=${content.submitted}`}>{submittedJam.name}</a> - {new Date(parseInt(content.submitted)).toDateString()}</small></p>
|
<p><small>Submitted by <a href={`/jams/user/${contentOwner.id}`}>{`${contentOwner.username}@${contentOwner.instance}`}</a> to <a href={`/jams/jam/${submittedJam.id}?until=${content.submitted}`}>{submittedJam.name}</a> - {new Date(parseInt(content.submitted)).toDateString()}</small></p>
|
||||||
</ConditionalNull>
|
</ConditionalNull>
|
||||||
<ConditionalNull condition={submittedJam == null}>
|
<ConditionalNull condition={submittedJam == null}>
|
||||||
|
|
Loading…
Reference in a new issue