(0 , _reactRouterDom.useHistory) is not a function

前端 未结 0 1778
刺人心
刺人心 2021-02-12 11:37

i am using react-router-dom v6.0.0-beta.0 with reac-redux 7.2.2 and want to edit the state value by using the useState hook, but when i click on EditIcon it gives me this error.

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