mirror of
https://github.com/Zenithsiz/dynatos.git
synced 2026-02-10 13:40:28 +00:00
dyn_text now receives anything that implements AsDynText.
This commit is contained in:
@@ -49,7 +49,7 @@ fn page() -> Element {
|
||||
html::div().with_children([
|
||||
html::p().with_dyn_text({
|
||||
let query = query.clone();
|
||||
move || Some(format!("{:?}", query.get()))
|
||||
move || format!("{:?}", query.get())
|
||||
}),
|
||||
html::hr(),
|
||||
dynatos_router::anchor("/?a=5").with_text("5"),
|
||||
|
||||
Reference in New Issue
Block a user