mirror of
https://github.com/DioxusLabs/dioxus
synced 2025-02-17 06:08:26 +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::*;
|
/// use dioxus::prelude::*;
|
||||||
///
|
///
|
||||||
/// fn main() {
|
/// 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 {
|
/// struct AppProps {
|
||||||
|
|
Loading…
Add table
Reference in a new issue