mirror of
https://github.com/UiO-Gaming/name-100-uio-gamers.git
synced 2026-11-05 13:56:53 +01:00
17 lines
350 B
TypeScript
17 lines
350 B
TypeScript
"use client";
|
|
|
|
import { signOut } from "next-auth/react";
|
|
import { CiLogout } from "react-icons/ci";
|
|
|
|
export default function LogoutButton() {
|
|
return (
|
|
<button
|
|
onClick={() => signOut()}
|
|
className="cursor-pointer rounded-lg bg-red-500 p-2 text-white"
|
|
aria-label="Logout"
|
|
>
|
|
<CiLogout size={24} />
|
|
</button>
|
|
);
|
|
}
|