Download src/app/logic/error.tsx from NAP1320/RotNot: direct link, hf CLI and curl.
- Browser
- Download file 364 Bytes
-
https://huggingface.co/spaces/NAP1320/RotNot/resolve/main/src/app/logic/error.tsx
- Command line
-
hf download hf://spaces/NAP1320/RotNot/src/app/logic/error.tsx
-
curl -L -o error.tsx https://huggingface.co/spaces/NAP1320/RotNot/resolve/main/src/app/logic/error.tsx
364 Bytes
| "use client"; | |
| import { ExerciseError } from "@/components/shared/exercise-error"; | |
| export default function LogicError({ | |
| error, | |
| reset, | |
| }: { | |
| error: Error & { digest?: string }; | |
| reset: () => void; | |
| }) { | |
| return ( | |
| <ExerciseError | |
| error={error} | |
| reset={reset} | |
| category="Logic Puzzles" | |
| categoryColor="var(--color-logic)" | |
| /> | |
| ); | |
| } | |