提交 7b83df32 编写于 作者: L Luis Alvarez D 提交者: Joe Haddad

[Docs] Add missing import in custom App code example (#10047)

* Updated comment

* Removed unexpected word

* Update custom-app.md

* Update custom-app.md
Co-authored-by: NJoe Haddad <timer150@gmail.com>
上级 240b41cc
......@@ -14,6 +14,8 @@ Next.js uses the `App` component to initialize pages. You can override it and co
To override the default `App`, create the file `./pages/_app.js` as shown below:
```jsx
// import App from 'next/app'
function MyApp({ Component, pageProps }) {
return <Component {...pageProps} />
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册