diff --git a/playground/src/components/TodoFooter.tsx b/playground/src/components/TodoFooter.tsx index 889f05c..66f0c47 100644 --- a/playground/src/components/TodoFooter.tsx +++ b/playground/src/components/TodoFooter.tsx @@ -30,7 +30,7 @@ export const TodoFooter = connect( return ( - {itemCount} item{itemCount > 1 ? 's' : ''} left + {itemCount} item{itemCount === 1 ? '' : 's'} left props.clear()}>Clear Completed diff --git a/step1-07/demo/src/components/TodoFooter.tsx b/step1-07/demo/src/components/TodoFooter.tsx index 0d86f55..56072ed 100644 --- a/step1-07/demo/src/components/TodoFooter.tsx +++ b/step1-07/demo/src/components/TodoFooter.tsx @@ -6,7 +6,7 @@ export const TodoFooter = (props: any) => { return ( diff --git a/step1-07/exercise/src/components/TodoFooter.tsx b/step1-07/exercise/src/components/TodoFooter.tsx index fdda04a..76fd3cb 100644 --- a/step1-07/exercise/src/components/TodoFooter.tsx +++ b/step1-07/exercise/src/components/TodoFooter.tsx @@ -6,7 +6,7 @@ export const TodoFooter = props => { return ( diff --git a/step1-07/final/src/components/TodoFooter.tsx b/step1-07/final/src/components/TodoFooter.tsx index fdb75cc..21fef48 100644 --- a/step1-07/final/src/components/TodoFooter.tsx +++ b/step1-07/final/src/components/TodoFooter.tsx @@ -14,7 +14,7 @@ export const TodoFooter = (props: TodoFooterProps) => { return (