Skip to content

Missing React Fragment to enclose list of tasks #223

@ayushvj08

Description

@ayushvj08

Mentions #222

Changes required in this line

return this.state.tasks.map((task, idx) => <Task key={idx} title={task.title} />);

To be changed to this

return (
      <>
        {this.state.tasks.map((task, idx) => (
          <Task key={idx} title={task.title} />
        ))}
      </>
    );

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions