This commit is contained in:
parent
952d9541b9
commit
f640afbcb1
@ -1,5 +1,6 @@
|
||||
"use client";
|
||||
|
||||
import { signIn } from "next-auth/react";
|
||||
import { useRouter } from "next/navigation";
|
||||
|
||||
export default function ActionButtons({ loggedIn }: { loggedIn: boolean }) {
|
||||
@ -29,7 +30,7 @@ export default function ActionButtons({ loggedIn }: { loggedIn: boolean }) {
|
||||
cursor: "pointer",
|
||||
fontSize: "0.8rem",
|
||||
}}
|
||||
onClick={() => router.push("/blog/login")}
|
||||
onClick={() => signIn()}
|
||||
>
|
||||
login
|
||||
</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user