From 6fdd146be0cfc50a1c8df9988cfd420e2738f79f Mon Sep 17 00:00:00 2001 From: Anmol Sarraf Date: Wed, 14 Jun 2023 21:18:20 +1000 Subject: [PATCH] fix(curriculum): fixed whitespacing (#50685) Co-authored-by: Anmol Sarraf --- .../react/pass-an-array-as-props.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/curriculum/challenges/english/03-front-end-development-libraries/react/pass-an-array-as-props.md b/curriculum/challenges/english/03-front-end-development-libraries/react/pass-an-array-as-props.md index a5b7170b309..b67008a084b 100644 --- a/curriculum/challenges/english/03-front-end-development-libraries/react/pass-an-array-as-props.md +++ b/curriculum/challenges/english/03-front-end-development-libraries/react/pass-an-array-as-props.md @@ -20,7 +20,7 @@ The child component then has access to the array property `colors`. Array method # --instructions-- -There are `List` and `ToDo` components in the code editor. When rendering each `List` from the `ToDo` component, pass in a `tasks` property assigned to an array of to-do tasks, for example `["walk dog", "workout"]`. Then access this `tasks` array in the `List` component, showing its value within the `p` element. Use `join(", ")` to display the `props.tasks`array in the `p` element as a comma separated list. Today's list should have at least 2 tasks and tomorrow's should have at least 3 tasks. +There are `List` and `ToDo` components in the code editor. When rendering each `List` from the `ToDo` component, pass in a `tasks` property assigned to an array of to-do tasks, for example `["walk dog", "workout"]`. Then access this `tasks` array in the `List` component, showing its value within the `p` element. Use `join(", ")` to display the `props.tasks` array in the `p` element as a comma separated list. Today's list should have at least 2 tasks and tomorrow's should have at least 3 tasks. # --hints--