Skip to content

Commit 9b6e656

Browse files
committed
Remove comments
1 parent 591e390 commit 9b6e656

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/keycloak.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ const keycloak = new Keycloak({
66
clientId: import.meta.env.VITE_KEYCLOAK_CLIENT_ID as string,
77
})
88

9-
// Initialize function that can be awaited by importing code
109
export const initKeycloak = async (): Promise<boolean> => {
1110
try {
1211
console.log("loading keycloak")
@@ -27,7 +26,6 @@ export const initKeycloak = async (): Promise<boolean> => {
2726

2827
return authenticated
2928
} catch (error: unknown) {
30-
// Properly type the error and safely log it
3129
console.error("Failed to initialize adapter:", error instanceof Error ? error.message : String(error))
3230
return false
3331
}

0 commit comments

Comments
 (0)