This commit is contained in:
		| @@ -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> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Nareshkumar Rao
					Nareshkumar Rao