awesome: arbitrary expressions excepted without braces
This commit is contained in:
1 parent
14961023f9
commit
4c85bcfdc8
40 files changed
+825
-767
No files matched your search
@@ -41,8 +41,8 @@ pub fn Link<'a, R: Routable>(cx: Scope<'a, LinkProps<'a, R>>) -> Element {
|
||||
a {
|
||||
href: "#",
|
||||
class: format_args!("{}", cx.props.class.unwrap_or("")),
|
||||
{&cx.props.children}
|
||||
onclick: move |_| service.push_route(cx.props.to.clone()),
|
||||
{&cx.props.children}
|
||||
}
|
||||
})
|
||||
}
|
||||
Reference in new issue
Block a user