Download components/contexts/user-context.tsx from AnkhLP/deepsite: direct link, hf CLI and curl.
- Browser
- Download file 173 Bytes
-
https://huggingface.co/spaces/AnkhLP/deepsite/resolve/main/components/contexts/user-context.tsx
- Command line
-
hf download hf://spaces/AnkhLP/deepsite/components/contexts/user-context.tsx
-
curl -L -o user-context.tsx https://huggingface.co/spaces/AnkhLP/deepsite/resolve/main/components/contexts/user-context.tsx
173 Bytes
| "use client"; | |
| import { createContext } from "react"; | |
| import { User } from "@/types"; | |
| export const UserContext = createContext({ | |
| user: undefined as User | undefined, | |
| }); | |