fix merge
This commit is contained in:
1 parent
e5df83ceec
commit
5b6f9d6b80
6 files changed
+28
-27
No files matched your search
+2
-5
@@ -15,7 +15,7 @@ fn app(cx: Scope) -> Element {
|
||||
extra_data: "hello{1}",
|
||||
extra_data2: "hello{2}",
|
||||
height: "10px",
|
||||
left: 1,
|
||||
left: 1
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -23,10 +23,7 @@ fn app(cx: Scope) -> Element {
|
||||
#[component]
|
||||
fn Component<'a>(cx: Scope<'a, Props<'a>>) -> Element<'a> {
|
||||
render! {
|
||||
audio {
|
||||
..cx.props.attributes,
|
||||
"1: {cx.props.extra_data}\n2: {cx.props.extra_data2}"
|
||||
}
|
||||
audio { ..cx.props.attributes, "1: {cx.props.extra_data}\n2: {cx.props.extra_data2}" }
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user