There was an error while loading. Please reload this page.
1 parent 31c6206 commit fd7d766Copy full SHA for fd7d766
1 file changed
frontend/lib/auth/components/auth-buttons.tsx
@@ -1,19 +1,15 @@
1
-'use client'
+"use client";
2
3
-import { signIn, signOut } from 'next-auth/react'
+import { signIn, signOut } from "next-auth/react";
4
+
5
+import { Button } from "@/components/core";
6
7
export function SignInButton() {
8
return (
- <button onClick={() => signIn('keycloak')}>
- Sign in with Keycloak
9
- </button>
10
- )
+ <Button onClick={() => signIn("keycloak")}>Sign in with Keycloak</Button>
+ );
11
}
12
13
export function SignOutButton() {
14
- return (
15
- <button onClick={() => signOut()}>
16
- Sign out
17
18
+ return <Button onClick={() => signOut()}>Sign out</Button>;
19
0 commit comments