mirror of
https://github.com/DioxusLabs/dioxus
synced 2024-11-27 06:30:20 +00:00
Fix typo of Diane's name
Those two American kids are just growing up as fast as they can, huh?
This commit is contained in:
parent
a9500f3413
commit
31bd010226
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ We can even match against values:
|
|||
fn App(cx: Scope)-> Element {
|
||||
match get_name() {
|
||||
"jack" => cx.render(rsx!( "Hey Jack, how's Diane?" )),
|
||||
"diane" => cx.render(rsx!( "Hey Diana, how's Jack?" )),
|
||||
"diane" => cx.render(rsx!( "Hey Diane, how's Jack?" )),
|
||||
name => cx.render(rsx!( "Hello, {name}!" )),
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue