Fix copy paste error in docs (#685)
This commit is contained in:
1 parent
2444c5333f
commit
bfdd7945aa
1 file changed
+1
-1
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user