Skip to content

Commit fd7d766

Browse files
committed
implement first use of Button from the new comp lib
1 parent 31c6206 commit fd7d766

1 file changed

Lines changed: 7 additions & 11 deletions

File tree

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,15 @@
1-
'use client'
1+
"use client";
22

3-
import { signIn, signOut } from 'next-auth/react'
3+
import { signIn, signOut } from "next-auth/react";
4+
5+
import { Button } from "@/components/core";
46

57
export function SignInButton() {
68
return (
7-
<button onClick={() => signIn('keycloak')}>
8-
Sign in with Keycloak
9-
</button>
10-
)
9+
<Button onClick={() => signIn("keycloak")}>Sign in with Keycloak</Button>
10+
);
1111
}
1212

1313
export function SignOutButton() {
14-
return (
15-
<button onClick={() => signOut()}>
16-
Sign out
17-
</button>
18-
)
14+
return <Button onClick={() => signOut()}>Sign out</Button>;
1915
}

0 commit comments

Comments
 (0)