| 23 | } |
| 24 | |
| 25 | interface ErrorBoundaryProps { |
| 26 | spy: (error: Error) => void; |
| 27 | children: React.ReactNode; |
| 28 | } |
| 29 | |
| 30 | export class ErrorBoundary extends React.Component<ErrorBoundaryProps> { |
| 31 | componentDidCatch(error: Error) { |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…