import { auth } from "@/lib/auth"; import { LoginButton } from "./login_button"; import { LogoutButton } from "./logout_button"; /** * This is a server component, then the buttons are client side */ export default async function LogIn(): Promise { const session = await auth(); if (session) { return ( ); } else { return ( ); } }