MCPcopy Create free account
hub / github.com/prisma/prisma-examples / SignOut

Function SignOut

orm/authjs-nextjs/components/auth-components.tsx:18–32  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

16}
17
18export function SignOut() {
19 return (
20 <form
21 action={async () => {
22 "use server"
23 await signOut()
24 }}
25 className="w-full"
26 >
27 <button className="bg-neutral-700 text-white p-2 rounded-md">
28 Sign Out
29 </button>
30 </form>
31 )
32}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected