Skip to content

Commit

Permalink
Update no-document-viewport-meta.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Timer committed Sep 22, 2020
1 parent f3eadac commit c6ff918
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions errors/no-document-viewport-meta.md
Expand Up @@ -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 }) {
Expand Down

0 comments on commit c6ff918

Please sign in to comment.