Skip to content

Commit 74f5416

Browse files
committed
Fix bug in code blog in 2d Finnish material
1 parent 9d70e3d commit 74f5416

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/2/fi/osa2d.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ Välilehti <i>response</i> on myös hyödyllinen, se kertoo mitä palvelin palau
7474
Uusi muistiinpano ei vielä renderöidy ruudulle, sillä emme aseta komponentille <i>App</i> uutta tilaa muistiinpanon luomisen yhteydessä. Viimeistellään sovellus vielä tältä osin:
7575

7676
```js
77-
addNote = event => {
77+
const addNote = event => {
7878
event.preventDefault()
7979
const noteObject = {
8080
content: newNote,

0 commit comments

Comments
 (0)