MCPcopy Create free account
hub / github.com/BuilderIO/framework-benchmarks / MyApp

Function MyApp

frameworks/next/pages/_app.js:6–15  ·  view source on GitHub ↗
({ Component, pageProps })

Source from the content-addressed store, hash-verified

4Error.stackTraceLimit = Infinity;
5
6function MyApp({ Component, pageProps }) {
7 const router = useRouter();
8
9 return (
10 <>
11 <AppHeader framework="next" path={router.pathname} />
12 <Component {...pageProps} />
13 </>
14 );
15}
16
17export default MyApp;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected