aboutsummaryrefslogtreecommitdiffstats
path: root/packages/web/components/auth/logout.tsx
diff options
context:
space:
mode:
authorMohamedBassem <me@mbassem.com>2024-02-13 14:42:56 +0000
committerMohamedBassem <me@mbassem.com>2024-02-13 14:45:31 +0000
commitc883bee10ed40792c2ae35bdd9745649cfffa2f2 (patch)
tree86223d42d454472687260deb90e2a45d19e3e99a /packages/web/components/auth/logout.tsx
parent400b696f74d7bde3717483ed7cfec5b8de675018 (diff)
downloadkarakeep-c883bee10ed40792c2ae35bdd9745649cfffa2f2.tar.zst
feature: Add login page and logout button
Diffstat (limited to 'packages/web/components/auth/logout.tsx')
-rw-r--r--packages/web/components/auth/logout.tsx17
1 files changed, 0 insertions, 17 deletions
diff --git a/packages/web/components/auth/logout.tsx b/packages/web/components/auth/logout.tsx
deleted file mode 100644
index 8d627f68..00000000
--- a/packages/web/components/auth/logout.tsx
+++ /dev/null
@@ -1,17 +0,0 @@
-"use client";
-import { signOut } from "next-auth/react";
-
-export const LogoutButton = () => {
- return (
- <button
- className="btn btn-ghost normal-case"
- onClick={() =>
- signOut({
- callbackUrl: "/",
- })
- }
- >
- Sign Out
- </button>
- );
-};