Makes session row and form components

This commit is contained in:
2025-05-31 16:58:13 -07:00
parent 5eba132bda
commit 8b837d622c
5 changed files with 60 additions and 35 deletions

View File

@@ -0,0 +1,17 @@
import type { Session } from "@/lib/types";
import { Link } from "@tanstack/react-router";
export const SessionRow = ({ session }: { session: Session }) => {
return (
<div>
<Link
to="/document/$documentId"
params={{ documentId: session.id }}
className="block font-semibold text-lg text-slate-300"
>
{session.created}
</Link>
<div className="">{session.data.session.strongStart}</div>
</div>
);
};