cannot consume the props inside the useEffect

前端 未结 0 1528
情书的邮戳
情书的邮戳 2020-12-21 14:00

-I have a redux state.

-using connect\'s mapStateToProps, I have set:

const mapStateToProps = (state) => ({
  alertItems: state.alertState,
});


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