titles/app/page.tsx

15 lines
381 B
TypeScript
Raw Normal View History

import { getUsers } from "@/drizzle/db";
import SignIn from "@/components/SignIn";
2024-05-16 21:23:10 +00:00
import { auth } from "@/auth";
import { Session } from "next-auth";
2024-05-16 11:44:35 +00:00
export default async function Home() {
const users = await getUsers();
2024-05-16 21:23:10 +00:00
const session: Session | null = await auth();
2024-05-16 11:44:35 +00:00
return (
<main className="bg-black text-white">
2024-05-16 21:23:10 +00:00
<SignIn session={session} />
2024-05-16 11:44:35 +00:00
</main>
);
}