mirror of
https://github.com/DioxusLabs/dioxus
synced 2024-11-23 12:43:08 +00:00
Fix copy paste error in docs (#685)
This commit is contained in:
parent
2444c5333f
commit
bfdd7945aa
1 changed files with 1 additions and 1 deletions
|
@ -89,7 +89,7 @@ pub fn launch_cfg(root: Component, config_builder: Config) {
|
|||
/// use dioxus::prelude::*;
|
||||
///
|
||||
/// fn main() {
|
||||
/// dioxus_desktop::launch_cfg(app, AppProps { name: "asd" }, |c| c);
|
||||
/// dioxus_desktop::launch_with_props(app, AppProps { name: "asd" }, |c| c);
|
||||
/// }
|
||||
///
|
||||
/// struct AppProps {
|
||||
|
|
Loading…
Reference in a new issue