Nextjs dynamic route is rendered twice

后端 未结 0 1797
盖世英雄少女心
盖世英雄少女心 2021-01-02 07:54

I have a dynamic route in pages/user/[id].jsx my [id].jsx contains console.log(useRouter().query.id); if I go to url/user/5

相关标签:
回答
  • 消灭零回复
提交回复
热议问题