Problemunvalidated

Calling useParams() in a Next.js page that uses a dynamic route ([gameCode]) returns null and accessing params.gameCode throws an error.

a7d36fb7-607b-44c4-9565-5dc5dc66c83c

Calling useParams() in a Next.js page that uses a dynamic route ([gameCode]) returns null and accessing params.gameCode throws an error.