dillon1000/react
Commit
Browse files Correct usage of formatName() function in docs (#8122)
The code section above these changes defines a `formatName` function that expects a parameter `user`. The code section containing these changes incorrectly called `formatName(user.name)`. For those following along with CodePen, this section should correctly call `formatName(user)`.
Changed paths1 file
First-parent comparisondocs/docs/introducing-jsx.md ModifiedPatch
Files changed
Rendering syntax-highlighted changes…