diff --git a/components/pages/home/LoginButton.tsx b/components/pages/home/LoginButton.tsx index 91bd44b..10b2982 100644 --- a/components/pages/home/LoginButton.tsx +++ b/components/pages/home/LoginButton.tsx @@ -1,20 +1,23 @@ "use client"; import { Button } from "@/components/ui/button"; -import { useSession } from "next-auth/react"; +import { signIn, signOut, useSession } from "next-auth/react"; import Link from "next/link"; export function LoginButton() { const { data: session } = useSession(); - if (session || true) { + if (session) { return ( <> - + + @@ -23,9 +26,9 @@ export function LoginButton() { return ( <> - - - +