diff --git a/src/content/6/en/part6c.md b/src/content/6/en/part6c.md index d46501ebaf..8d1a1b515d 100644 --- a/src/content/6/en/part6c.md +++ b/src/content/6/en/part6c.md @@ -234,7 +234,7 @@ const App = () => { useEffect(() => { noteService .getAll().then(notes => dispatch(setNotes(notes))) - }, []) + }, [dispatch]) // highlight-end return (