dillon1000/react

Commit

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)`.
Browse files
Changed paths1 file
First-parent comparison
M docs/docs/introducing-jsx.md Modified
Patch

Files changed

Rendering syntax-highlighted changes…