Spaces:
Runtime error
Runtime error
Download src/components/export/error.tsx from shyota/better-chatbot: direct link, hf CLI and curl.
- Browser
- Download file 524 Bytes
-
https://huggingface.co/spaces/shyota/better-chatbot/resolve/main/src/components/export/error.tsx
- Command line
-
hf download hf://spaces/shyota/better-chatbot/src/components/export/error.tsx
-
curl -L -o error.tsx https://huggingface.co/spaces/shyota/better-chatbot/resolve/main/src/components/export/error.tsx
524 Bytes
| import Link from "next/link"; | |
| export default function ExportError({ message }: { message: string }) { | |
| return ( | |
| <div className="w-full h-screen flex items-center justify-center"> | |
| <div className="flex flex-col gap-4"> | |
| <div className="text-2xl font-bold flex items-center gap-4"> | |
| {message} | |
| </div> | |
| <Link | |
| href="/" | |
| className="hover:underline text-sm text-muted-foreground text-center" | |
| > | |
| Go to home | |
| </Link> | |
| </div> | |
| </div> | |
| ); | |
| } | |