diff options
Diffstat (limited to '')
| -rw-r--r-- | web/components.json | 2 | ||||
| -rw-r--r-- | web/components/auth/logout.tsx | 11 |
2 files changed, 9 insertions, 4 deletions
diff --git a/web/components.json b/web/components.json index 15f2b025..fa674c93 100644 --- a/web/components.json +++ b/web/components.json @@ -14,4 +14,4 @@ "components": "@/components", "utils": "@/lib/utils" } -}
\ No newline at end of file +} diff --git a/web/components/auth/logout.tsx b/web/components/auth/logout.tsx index 87391c84..8d627f68 100644 --- a/web/components/auth/logout.tsx +++ b/web/components/auth/logout.tsx @@ -3,9 +3,14 @@ import { signOut } from "next-auth/react"; export const LogoutButton = () => { return ( - <button className="btn btn-ghost normal-case" onClick={() => signOut({ - callbackUrl: "/", - })}> + <button + className="btn btn-ghost normal-case" + onClick={() => + signOut({ + callbackUrl: "/", + }) + } + > Sign Out </button> ); |
