mirror of
https://github.com/supermemoryai/supermemory.git
synced 2026-09-08 22:21:07 +00:00
22 lines
366 B
TypeScript
22 lines
366 B
TypeScript
import { signOut } from "@/server/auth";
|
|
import { Button } from "@repo/ui/shadcn/button";
|
|
|
|
export default function SignOutButton() {
|
|
return (
|
|
<form
|
|
action={async () => {
|
|
"use server";
|
|
await signOut();
|
|
}}
|
|
>
|
|
<Button
|
|
variant="ghost"
|
|
size="sm"
|
|
type="submit"
|
|
className="text-[#7D8994]"
|
|
>
|
|
Sign Out
|
|
</Button>
|
|
</form>
|
|
);
|
|
}
|