diff --git a/step1-06/exercise/README.md b/step1-06/exercise/README.md index 241ae98..165dc83 100644 --- a/step1-06/exercise/README.md +++ b/step1-06/exercise/README.md @@ -3,7 +3,7 @@ ### TodoFooter 1. Use the provided `itemCount` value drive the number of items left. -2. Use a ternary operator to print `item` vs `items` based on if `itemCount > 1` +2. Use a ternary operator to print `item` vs `items` based on if `itemCount === 1` ### TodoListItem diff --git a/step1-06/final/src/components/TodoFooter.tsx b/step1-06/final/src/components/TodoFooter.tsx index 7bd54e8..5a28a79 100644 --- a/step1-06/final/src/components/TodoFooter.tsx +++ b/step1-06/final/src/components/TodoFooter.tsx @@ -5,7 +5,7 @@ export const TodoFooter = (props: any) => { return (