Spaces:
Running
Running
Commit
•
aaf5911
1
Parent(s):
dc3c8f0
debug
Browse files
src/app/interface/hf-login/index.tsx
CHANGED
@@ -10,7 +10,7 @@ export function HuggingFaceLogin() {
|
|
10 |
const hf = useHuggingFaceLogin()
|
11 |
|
12 |
// feature is not finished yet
|
13 |
-
if (user?.userName !== "jbilcke-hf") { return }
|
14 |
|
15 |
console.log("user:", user)
|
16 |
console.log("hf.isLoggedIn:", hf.isLoggedIn)
|
|
|
10 |
const hf = useHuggingFaceLogin()
|
11 |
|
12 |
// feature is not finished yet
|
13 |
+
if (!user?.userName || user?.userName !== "jbilcke-hf") { return }
|
14 |
|
15 |
console.log("user:", user)
|
16 |
console.log("hf.isLoggedIn:", hf.isLoggedIn)
|