
import { logout } from "../_lib/actions/auth";

export default function LoginState() {


    return (
        <div className="flex gap-2 items-center">
            <span>
                <form action={async () => {
                    "use server";
                    await logout()
                }}>
                    <button className="text-sm border-b border-sky-300 hover:border-b-2 font-normal">退出登录</button>
                </form>
            </span>
        </div>
    )

}