({ mainContext }: Props)
| 11 | } |
| 12 | |
| 13 | export default function Page({ mainContext }: Props) { |
| 14 | return ( |
| 15 | <MainContext.Provider value={mainContext}> |
| 16 | <DefaultLayout> |
| 17 | <Search /> |
| 18 | </DefaultLayout> |
| 19 | </MainContext.Provider> |
| 20 | ) |
| 21 | } |
| 22 | |
| 23 | export const getServerSideProps: GetServerSideProps<Props> = async (context) => { |
| 24 | const req = context.req as any |
nothing calls this directly
no outgoing calls
no test coverage detected