Skip to content

I don't know what initialReduxState is #65773

Closed Answered by icyJoseph
hide1111111 asked this question in Help
Discussion options

You must be logged in to vote

Hi,

You are mixing up concepts here. {Component, pageProps}, where some of the props passed to the custom App component, that lived in _app, in Pages Router.

You are however, showing a layout.js file, which indicates that you are in the App Router.

Are you following a tutorial or something like that? If you used create-next-app, you might have accidentally chose to use App Router, over Pages Router, when it asked you which one you'd want to use.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@hide1111111
Comment options

Answer selected by hide1111111
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants