aboutsummaryrefslogtreecommitdiff
path: root/web/src/app/components/sign-out.jsx
diff options
context:
space:
mode:
authorAndrew Lee <andrew@alee14.me>2025-03-25 14:13:06 -0400
committerAndrew Lee <andrew@alee14.me>2025-03-25 14:13:06 -0400
commit1c12d378d66b92b1674acd17640f2bac752da289 (patch)
treebc8a1ef5047be1ed2400f2204a0222a840375851 /web/src/app/components/sign-out.jsx
parentad768e2b25b58d62a44aa2daeb1429a651d488e5 (diff)
downloadAleeBot-1c12d378d66b92b1674acd17640f2bac752da289.tar.gz
AleeBot-1c12d378d66b92b1674acd17640f2bac752da289.tar.bz2
AleeBot-1c12d378d66b92b1674acd17640f2bac752da289.zip
Converted public dashboard to admin dashboard; Made API have a consistent output message
Diffstat (limited to 'web/src/app/components/sign-out.jsx')
-rw-r--r--web/src/app/components/sign-out.jsx11
1 files changed, 1 insertions, 10 deletions
diff --git a/web/src/app/components/sign-out.jsx b/web/src/app/components/sign-out.jsx
index 69162a4..dd6693d 100644
--- a/web/src/app/components/sign-out.jsx
+++ b/web/src/app/components/sign-out.jsx
@@ -1,14 +1,5 @@
-import { signOut } from "@/lib/auth"
-
export default function SignOut() {
return (
- <form
- action={async () => {
- "use server"
- await signOut("discord")
- }}
- >
- <button type="submit">Log out</button>
- </form>
+ <button type="submit" className="py-2 px-4 rounded-md text-md bg-red-700 hover:bg-red-500">Sign out</button>
)
}