Skip to content

Commit 0fa2495

Browse files
authored
Merge pull request #2378 from frozenzia/patch-5
Improve English **slightly**, correct task spec
2 parents c27d4be + 3e9cf31 commit 0fa2495

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/content/5/fi/osa5c.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -559,7 +559,7 @@ const NoteForm = ({ createNote }) => {
559559
<input
560560
value={newNote}
561561
onChange={handleChange}
562-
placeholder='write here note content' // highlight-line
562+
placeholder='write note content here' // highlight-line
563563
/>
564564
<input
565565
value={...}
@@ -580,7 +580,7 @@ test('<NoteForm /> updates parent state and calls onSubmit', () => {
580580

581581
render(<NoteForm createNote={createNote} />)
582582

583-
const input = screen.getByPlaceholderText('write here note content') // highlight-line
583+
const input = screen.getByPlaceholderText('write note content here') // highlight-line
584584
const sendButton = screen.getByText('save')
585585

586586
userEvent.type(input, 'testing a form...' )
@@ -727,7 +727,7 @@ Tee testi, joka varmistaa että blogin näyttävä komponentti renderöi blogin
727727

728728
#### 5.14: blogilistan testit, step2
729729

730-
Tee testi, joka varmistaa että myös url, likejen määrä ja author näytetään, kun blogin kaikki tiedot näyttävää nappia on painettu.
730+
Tee testi, joka varmistaa että myös url, likejen määrä ja käyttäjä näytetään, kun blogin kaikki tiedot näyttävää nappia on painettu.
731731

732732
#### 5.15: blogilistan testit, step3
733733

0 commit comments

Comments
 (0)