Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Upload folder using huggingface_hub
Browse files
client/src/_core/hooks/useAuth.ts
CHANGED
|
@@ -6,8 +6,9 @@ import { useCallback, useEffect, useMemo } from "react";
|
|
| 6 |
const ACCESS_KEY_STORAGE = "access_key_verified";
|
| 7 |
|
| 8 |
// Mock user for access key authentication (no cookies needed)
|
|
|
|
| 9 |
const ACCESS_KEY_USER = {
|
| 10 |
-
id:
|
| 11 |
name: "Demo User",
|
| 12 |
email: "demo@aimusic.attribution",
|
| 13 |
};
|
|
|
|
| 6 |
const ACCESS_KEY_STORAGE = "access_key_verified";
|
| 7 |
|
| 8 |
// Mock user for access key authentication (no cookies needed)
|
| 9 |
+
// ID must match DEMO_USER_ID in importTestSamples.ts
|
| 10 |
const ACCESS_KEY_USER = {
|
| 11 |
+
id: 1,
|
| 12 |
name: "Demo User",
|
| 13 |
email: "demo@aimusic.attribution",
|
| 14 |
};
|