tenantpilot/app/(app)/dashboard/page.tsx
2025-11-18 23:24:41 +01:00

18 lines
478 B
TypeScript

import SignIn from "@/components/auth/SignIn";
import { getUserAuth } from "@/lib/auth/utils";
export default async function Home() {
const { session } = await getUserAuth();
return (
<main className="space-y-4">
{session ? (
<pre className="bg-secondary p-4 rounded-sm shadow-sm text-secondary-foreground break-all whitespace-break-spaces">
{JSON.stringify(session, null, 2)}
</pre>
) : null}
<SignIn />
</main>
);
}