silverwolf-x/project / errors /cant-override-next-props.mdx
silverwolf-x's picture
download
raw
536 Bytes
---
title: 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.
## Useful Links
- [The issue this was reported in: #6480](https://github.com/vercel/next.js/issues/6480)

Xet Storage Details

Size:
536 Bytes
·
Xet hash:
6cf133475f5481f687d8630a320440713abc05d8ea06181d703945d04f594688

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.