jbilcke-hf HF staff commited on
Commit
b021a2a
1 Parent(s): c085699

remove the infinite loop

Browse files
Files changed (1) hide show
  1. src/app/state/userCurrentUser.ts +1 -1
src/app/state/userCurrentUser.ts CHANGED
@@ -191,7 +191,7 @@ export function useCurrentUser({
191
  setHuggingfaceApiKey("")
192
  setCurrentUser(undefined)
193
  if (loginOnFailure) {
194
- login()
195
  }
196
  }
197
  })()
 
191
  setHuggingfaceApiKey("")
192
  setCurrentUser(undefined)
193
  if (loginOnFailure) {
194
+ // login()
195
  }
196
  }
197
  })()