Skip to content

Eileen Olivera / Linking New Component #2

@eileen813

Description

@eileen813

PROJECT ISSUE TICKET

Unexpected Behavior

Chore description, edit, and delete buttons are not rendering in Detail component.

Expected Behavior

Once chore name is clicked on home page, I would like the specific description of that chore only to be shown from Detail component.

Reproduce the Error

Empty Detail component.

Documentation

  19 | return (
  20 |   <>
  21 |     <div className="descriptionContainer">
> 22 |       <p>{details.description}</p>
     | ^  23 |       <button onClick={handleDelete}>Delete Chore</button>
  24 |       {/* the link below routes to new page to edit specific chore.
  25 |       using props for this. */}

Attempted Resolution

1. https://upmostly.com/tutorials/react-onclick-event-handling-with-examples
2. https://stackoverflow.com/questions/45598854/passing-values-through-react-router-v4-link

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions