Skip to content

Commit 379bcde

Browse files
committed
Improve grammar in comments
1 parent 8a4c636 commit 379bcde

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/App.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ function App() {
55
const [points, setPoints] = useState(0); //set initial points to 0
66
function addPointsFromClick() {
77
//add points from clicking a button
8-
setPoints(points + 1); //increase points by 1
8+
setPoints(points + 1); //increase points by 1 when button clicked
99
}
1010
return (
1111
//dynamic app HTML output

0 commit comments

Comments
 (0)