Update no-document-viewport-meta.md

This commit is contained in:
Joe Haddad 2020-09-21 21:31:51 -04:00 committed by GitHub
parent f3eadac467
commit c6ff918777
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -9,9 +9,8 @@ The viewport tag should be handled by `next/head` in `pages/_app.js`.
Set your viewport `meta` tag in `pages/_app.js` instead:
```jsx
```tsx
// pages/_app.js
import React from 'react'
import Head from 'next/head'
function MyApp({ Component, pageProps }) {