MCPcopy Create free account
hub / github.com/github/docs / Page

Function Page

pages/search.tsx:13–21  ·  view source on GitHub ↗
({ mainContext }: Props)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected