idek a lot
This commit is contained in:
13
src/components/auth/Sign_Out.tsx
Normal file
13
src/components/auth/Sign_Out.tsx
Normal file
@ -0,0 +1,13 @@
|
||||
import { signOut } from "~/auth"
|
||||
|
||||
export default function Sign_Out() {
|
||||
return (
|
||||
<form className="w-full"
|
||||
action={async () => {
|
||||
"use server"
|
||||
await signOut()
|
||||
}}>
|
||||
<button type="submit" className="w-full">Sign Out</button>
|
||||
</form>
|
||||
)
|
||||
}
|
Reference in New Issue
Block a user