enzostvs HF staff commited on
Commit
bb7c361
·
1 Parent(s): 8ba3d1e

wip signin

Browse files
Files changed (1) hide show
  1. src/lib/stores/use-user.ts +1 -1
src/lib/stores/use-user.ts CHANGED
@@ -6,7 +6,7 @@ import { env } from "$env/dynamic/public";
6
  export const userStore = writable<any>(null);
7
 
8
  export const openWindowLogin = async () => {
9
- console.log(process.env.SPACE_HOST)
10
  if (window.location.host.includes("huggingface.co")) {
11
  console.log("redirecting to public space", env.PUBLIC_SPACE_URL)
12
  window.location.href = env.PUBLIC_SPACE_URL as string;
 
6
  export const userStore = writable<any>(null);
7
 
8
  export const openWindowLogin = async () => {
9
+ console.log(window)
10
  if (window.location.host.includes("huggingface.co")) {
11
  console.log("redirecting to public space", env.PUBLIC_SPACE_URL)
12
  window.location.href = env.PUBLIC_SPACE_URL as string;