React useSelector not working, what am I doing wrong?

前端 未结 0 604
花落未央
花落未央 2021-02-04 07:15

I have a selectors folder with the selector.js file

const isRecipeFavorited = state => recipeId => {
    const recipe = state.find(recipe => recipe.id ==         


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