chore: add the missing in comment (#2978)

Signed-off-by: jingchanglu <jingchanglu@outlook.com>
This commit is contained in:
荆长逯 2024-09-20 03:56:47 +08:00 committed by GitHub
parent b25469208f
commit 76ad23c822
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2,7 +2,7 @@
//! //!
//! This example demonstrates how to implement a login form using Dioxus desktop. Since forms typically navigate the //! This example demonstrates how to implement a login form using Dioxus desktop. Since forms typically navigate the
//! page on submit, we need to intercept the onsubmit event and send a request to a server. On the web, we could //! page on submit, we need to intercept the onsubmit event and send a request to a server. On the web, we could
//! just leave the submit action` as is, but on desktop, we need to handle the form submission ourselves. //! just leave the `submit action` as is, but on desktop, we need to handle the form submission ourselves.
//! //!
//! Todo: actually spin up a server and run the login flow. Login is way more complex than a form override :) //! Todo: actually spin up a server and run the login flow. Login is way more complex than a form override :)