From d7c46a9eae28046bb26da182abc298dc18ed5a10 Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Sun, 23 Mar 2025 01:39:11 -0400 Subject: Replacing Astro with Next.JS; Prefix warning; Consistent env vars --- web/src/app/components/sign-out.jsx | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 web/src/app/components/sign-out.jsx (limited to 'web/src/app/components/sign-out.jsx') diff --git a/web/src/app/components/sign-out.jsx b/web/src/app/components/sign-out.jsx new file mode 100644 index 0000000..69162a4 --- /dev/null +++ b/web/src/app/components/sign-out.jsx @@ -0,0 +1,14 @@ +import { signOut } from "@/lib/auth" + +export default function SignOut() { + return ( +
{ + "use server" + await signOut("discord") + }} + > + +
+ ) +} -- cgit v1.2.3