| 4 | import { Button } from '@/components/ui/button'; |
| 5 | |
| 6 | interface ErrorProps { |
| 7 | error: Error; |
| 8 | reset: () => void; |
| 9 | } |
| 10 | |
| 11 | const Error: React.FC<ErrorProps> = ({ error, reset }) => { |
| 12 | useEffect(() => { |
nothing calls this directly
no outgoing calls
no test coverage detected