Tutorial, getInitialProps, and HOC #11056
Unanswered
awestbarrett
asked this question in
Help
Replies: 1 comment 1 reply
-
I think there are two issues:
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all,
I'm following along the NextJS tutorial and I'm trying to make sense of getInitialProps. I have an HOC/Layout file that looks like this:
And an index page that looks like this:
This returns an error that key shows doesn't exist in the props object. I'm sure it's something to do with the HOC but i'm not sure what the fix is.
Beta Was this translation helpful? Give feedback.
All reactions