Skip to content

why did ctx.params become undefined #1002

Closed Answered by sylc
bobwatcherx asked this question in Q&A
Discussion options

You must be logged in to vote

the file is called [id].tsx so the params should have an id property, not username.
You are logging username which will be undefined.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by marvinhagemeister
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants