Skip to content

Commit 5db4b75

Browse files
authored
Update osa6d.md Korjattu pari // highlight-line -kommenttia — molemmista puuttui yksi "t", joten ne eivät toimineet odotetusti.
1 parent 009ee94 commit 5db4b75

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/content/6/fi/osa6d.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -259,9 +259,9 @@ import { getNotes, createNote, updateNote } from './requests' // highlight-line
259259
const App = () => {
260260
// ...
261261

262-
const updateNoteMutation = useMutation( //highligh-line
262+
const updateNoteMutation = useMutation( // highlight-line
263263
{mutationFn: updateNote, // highlight-line
264-
onSuccess: () => { // highligh-line
264+
onSuccess: () => { // highlight-line
265265
queryClient.invalidateQueries({ queryKey: ['notes'] }) // highlight-line
266266
},
267267
})

0 commit comments

Comments
 (0)