aboutsummaryrefslogtreecommitdiffstats
path: root/web/components
diff options
context:
space:
mode:
authorMohamedBassem <me@mbassem.com>2024-02-06 13:12:21 +0000
committerMohamedBassem <me@mbassem.com>2024-02-06 13:12:21 +0000
commit4c901d073376ab9fd37284801011a12261d5963d (patch)
tree537eaea0b85c057dd1b7490afe755c634febece0 /web/components
parent2518a99d1c296dc838edc2330dc6eb6fe5aead8e (diff)
downloadkarakeep-4c901d073376ab9fd37284801011a12261d5963d.tar.zst
Linting and formatting
Diffstat (limited to '')
-rw-r--r--web/components.json2
-rw-r--r--web/components/auth/logout.tsx11
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>
);