MCPcopy Index your code
hub / github.com/github/docs /

Class

pages/_document.tsx:6–6  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4import { defaultCSSTheme } from 'components/hooks/useTheme'
5
6export default class MyDocument extends Document {
7 static async getInitialProps(ctx: DocumentContext) {
8 const sheet = new ServerStyleSheet()
9 const originalRenderPage = ctx.renderPage

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected