Files
bewell-in-ua/components/auth/forms/sign-out-button.tsx
2025-02-05 08:01:14 +02:00

15 lines
214 B
TypeScript

import {signOut} from '@/auth'
export function SignOutButton() {
return (
<form
action={async () => {
'use server'
await signOut()
}}
>
<button type='submit'>Sign Out</button>
</form>
)
}