Errors in React project :: items are not defiend

 Items are not find::


1. singular reducer was not made in which items were coming  from this singular reducer

2. Singular reducer made then it was not importing in index.js 

3. In componentdidmount =

  componentDidMount(leaveapplication) {

    this.props.showLeaveapplication(this.props.match.params.id);

  }

id was Id

4. route was not mading

5. leave_applications should be in the show page at some location because in backend the data was in leave_applications.

Comments

Popular posts from this blog

Rails 7 Features :: Comparison with Rails 6 and Rails 5