Spaces:
Running
Running
Commit
·
bf1a262
1
Parent(s):
b3c7e0f
up
Browse files
src/app/interface/hf-login/index.tsx
CHANGED
@@ -10,13 +10,13 @@ export function HuggingFaceLogin() {
|
|
10 |
const hf = useHuggingFaceLogin()
|
11 |
|
12 |
// feature is not finished yet
|
13 |
-
if (user?.userName !== "Julian Bilcke") { return }
|
14 |
|
15 |
console.log("user:", user)
|
16 |
console.log("hf.isLoggedIn:", hf.isLoggedIn)
|
17 |
console.log("hf.oauthResult:", hf.oauthResult)
|
18 |
|
19 |
return (
|
20 |
-
<div><Button onClick={hf.login}>
|
21 |
)
|
22 |
}
|
|
|
10 |
const hf = useHuggingFaceLogin()
|
11 |
|
12 |
// feature is not finished yet
|
13 |
+
// if (user?.userName !== "Julian Bilcke") { return }
|
14 |
|
15 |
console.log("user:", user)
|
16 |
console.log("hf.isLoggedIn:", hf.isLoggedIn)
|
17 |
console.log("hf.oauthResult:", hf.oauthResult)
|
18 |
|
19 |
return (
|
20 |
+
<div><Button onClick={hf.login}>test</Button></div>
|
21 |
)
|
22 |
}
|