Why am I getting TypeError: Cannot destructure property 'state' of 'props.location' as it is undefined?

前端 未结 0 478
感动是毒
感动是毒 2021-01-12 06:06

So I building a React component and I\'m calling the component on another page and I get this error: TypeError: Cannot destructure property \'state\' of \'props.location\' a

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