Skip to content

Commit c4220d2

Browse files
ajrussellaudiotimneutkens
authored andcommitted
Update no-document-title.md (#6832)
`router` is not needed in the scope
1 parent c7bdcea commit c4220d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

errors/no-document-title.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import Head from 'next/head'
1515
import React from 'react'
1616

1717
export default class MyApp extends App {
18-
static async getInitialProps ({ Component, router, ctx }) {
18+
static async getInitialProps ({ Component, ctx }) {
1919
let pageProps = {}
2020

2121
if (Component.getInitialProps) {

0 commit comments

Comments
 (0)