Skip to content

Commit c064118

Browse files
Has Update the Week 2 readme solution code
1 parent 4232537 commit c064118

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

challenges/week-2.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ function Greeting() {
3939
count > 0 && setCount(count - 1);
4040
}
4141
function handleReset () {
42-
count > 0 setCount(0);
42+
count > 0 && setCount(0);
4343
}
4444
return (
4545
<div>

0 commit comments

Comments
 (0)