setup done

This commit is contained in:
Om Lanke
2025-06-25 15:25:44 +05:30
parent ceb4b6b811
commit 2b777df5e2
55 changed files with 503 additions and 90 deletions

View File

@@ -0,0 +1,19 @@
import { Button } from "@workspace/ui/components/button";
import { auth } from "@workspace/auth";
export default async function Studs({
action,
logOut,
}: {
action: () => void;
logOut: () => void;
}) {
const session = await auth();
if (!session?.user) return null;
return (
<div className="flex gap-2">
<Button onClick={action} variant="outline">Click me</Button>
<Button onClick={logOut}>Sign Out</Button>
</div>
);
}