(props: { statusCode: number })
| 3 | import type { NextPageContext } from "next"; |
| 4 | |
| 5 | const CustomErrorComponent = (props: { statusCode: number }) => { |
| 6 | return <Error statusCode={props.statusCode} />; |
| 7 | }; |
| 8 | |
| 9 | CustomErrorComponent.getInitialProps = async ( |
| 10 | contextData: NextPageContext & { |
nothing calls this directly
no outgoing calls
no test coverage detected