leptos-rs / book

The home for the Leptos book, which can be found deployed at https://book.leptos.dev
MIT License
88 stars 67 forks source link

Fix typo: 'Form' to 'form' since it is a HTML element #105

Closed NCura closed 5 months ago

gbj commented 5 months ago

This should actually read <FancyForm/> instead of <Form/>, given the context in the sentence before:

For example, imagine I have a <FancyForm/> component that enhances an HTML <form>. I need some way to pass all its inputs.

NCura commented 5 months ago

I initially misunderstood the code example, thinking it was the body of the FancyForm component function, which made the previous sentence unclear. Changing "Form" to "FancyForm" clarifies everything. Can I update this pull request to fix the typo correctly (I don't know if that is even a thing), or should I close it and create a new one with the correct fix?

gbj commented 5 months ago

Just updating this PR is great :-)

NCura commented 5 months ago

Done!