mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
* fix root components import order * import order tests * chunks attachment order tests
17 lines
321 B
JavaScript
17 lines
321 B
JavaScript
import React from 'react'
|
|
import RequiredByApp from '../requiredByApp'
|
|
import sideEffect from '../sideEffectModule'
|
|
|
|
sideEffect('_app')
|
|
|
|
function MyApp({ Component, pageProps }) {
|
|
return (
|
|
<React.Fragment>
|
|
<RequiredByApp />
|
|
<Component {...pageProps} />
|
|
</React.Fragment>
|
|
)
|
|
}
|
|
|
|
export default MyApp
|