Open danilocangucu opened 1 year ago
The fragment code present in src/App.js:
src/App.js
{user && <div> <p>{user.name} logged in</p> <Togglable buttonLabel="new note"> <NoteForm createNote={addNote} /> </Togglable> </div> }
According to the material present in Part 5 - letter b - The components children, aka. props.children, should be:
Part 5 - letter b - The components children, aka. props.children
{user && <div> <p>{user.name} logged in</p> <Togglable buttonLabel="new note"> <NoteForm onSubmit={addNote} value={newNote} handleChange={handleNoteChange} /> </Togglable> </div> }
Greetings and thanks for the incredible course!
Danilo
The fragment code present in
src/App.js
:According to the material present in
Part 5 - letter b - The components children, aka. props.children
, should be:Greetings and thanks for the incredible course!
Danilo