Closed juliuscc closed 4 years ago
Do not get this error on the localhost. The problem also exists when refreshing on edit deck. Can be recreated locally by running. npm run ci-build and npx serve out
This is because router.query
is undefined on the first render: https://github.com/zeit/next.js/discussions/11484
fixed by structure update
Go to https://speak.exchange/view-deck?id=pZa3RZC5S1HSXbJ2o7Vi to reproduce.