Someone plz tell me my mistake?

Tell us what’s happening:

Your code so far


const List = (props) => {
{ /* change code below this line */ }
return <p></p>;
{ /* change code above this line */ }
};

class ToDo extends React.Component {
constructor(props) {
  super(props);
}
render() {
  return (
    <div>
      <h1>To Do Lists</h1>
      <h2>Today</h2>
      { /* change code below this line */ }
      <List tasks={["Walk", "Cook", "Bake"]}/>
      <h2>Tomorrow</h2>
      <List tasks={["Study", "Code","Eat"]}/>
      { /* change code above this line */ }
    </div>
  );
}
};

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.102 Safari/537.36.

Challenge: Pass an Array as Props

Link to the challenge:

Hello there.

Do you have a question?

If so, please edit your post to include it in the Tell us what’s happening section.

The more information you give us, the more likely we are to be able to help.