diff options
Diffstat (limited to 'web/src/app/components/sign-out.jsx')
| -rw-r--r-- | web/src/app/components/sign-out.jsx | 11 |
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> ) } |
