Spaces:
Runtime error
Runtime error
Download src/app/interface/login/login.tsx from WaledRashed24/comics: direct link, hf CLI and curl.
- Browser
- Download file 317 Bytes
-
https://huggingface.co/spaces/WaledRashed24/comics/resolve/main/src/app/interface/login/login.tsx
- Command line
-
hf download hf://spaces/WaledRashed24/comics/src/app/interface/login/login.tsx
-
curl -L -o login.tsx https://huggingface.co/spaces/WaledRashed24/comics/resolve/main/src/app/interface/login/login.tsx
317 Bytes
| "use client" | |
| import { useEffect } from "react" | |
| import { Button } from "@/components/ui/button" | |
| import { useOAuth } from "@/lib/useOAuth" | |
| function Login() { | |
| const { login } = useOAuth({ debug: false }) | |
| return <Button onClick={login} className="text-xl">Sign-in with Hugging Face</Button> | |
| } | |
| export default Login |