15 lines
245 B
TypeScript
15 lines
245 B
TypeScript
import { signOut } from "~/auth"
|
|
|
|
export default function Sign_Out() {
|
|
return (
|
|
<form
|
|
action={async () => {
|
|
"use server"
|
|
await signOut()
|
|
}}
|
|
>
|
|
<button type="submit">Sign Out</button>
|
|
</form>
|
|
)
|
|
}
|