Skip to content

Commit

Permalink
signout
Browse files Browse the repository at this point in the history
  • Loading branch information
Redninjale committed Feb 28, 2025
1 parent 9825286 commit 90999e9
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions my-turborepo/apps/nextjs/src/app/organizer/page.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,15 @@
import { signOut } from "@vanni/auth";

export default function OrganizerPage() {
return (
<div>
<h1>Welcome to the Organizer Page</h1>
<button onClick={ async () => {
"use server";
await signOut();
}}>
Sign Out!
</button>
</div>
);
}

0 comments on commit 90999e9

Please sign in to comment.