diff options
| author | MohamedBassem <me@mbassem.com> | 2024-02-06 12:26:29 +0000 |
|---|---|---|
| committer | MohamedBassem <me@mbassem.com> | 2024-02-06 12:26:29 +0000 |
| commit | 083ea5bd19172381bb53e95aaf98eaabef839c54 (patch) | |
| tree | 4d1c041aab7cd8d15382330db08caeb9c5a12c63 /components/auth/login.tsx | |
| parent | b792121977ade8bdd3fb62704b65a9fcbd1436b9 (diff) | |
| download | karakeep-083ea5bd19172381bb53e95aaf98eaabef839c54.tar.zst | |
Move the web app into a subdir
Diffstat (limited to 'components/auth/login.tsx')
| -rw-r--r-- | components/auth/login.tsx | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/components/auth/login.tsx b/components/auth/login.tsx deleted file mode 100644 index 4cd55546..00000000 --- a/components/auth/login.tsx +++ /dev/null @@ -1,17 +0,0 @@ -"use client"; -import { signIn } from "next-auth/react"; - -export const LoginButton = () => { - return ( - <button - className="btn btn-primary" - onClick={() => - signIn(undefined, { - callbackUrl: "/", - }) - } - > - Sign in - </button> - ); -}; |
