rsnext/errors/cant-override-next-props.md
k-kawakami d9060f5abd Remove trailing spaces (#6547)
### changes
#### remove trailing spaces

When I was using example I noticed trailing spaces.
So, this PR removes the trailing spaces of json file, README, and others.

`examples/with-jest-typescript/src/modules/cars/Overview.tsx` also has it, but this time it did not change as tslint error occurs at commit.
2019-03-07 17:40:08 +01:00

525 B

Can't Override Next Props

Why This Error Occurred

In your pages/_app.js you returned an object from getInitialProps that contained a router or Component value. These property names are used by Next.js and can not be overwritten.

Possible Ways to Fix It

Look in your _app.js component's getInitialProps function and make sure neither of these property names are present in the object returned.