Modifica Assets por Context

This commit is contained in:
Manuel Cillero 2022-05-15 18:32:56 +02:00
parent 9e5d6e1a72
commit 72f5144b75
29 changed files with 375 additions and 372 deletions

View file

@ -46,7 +46,7 @@ impl ComponentTrait for Paragraph {
self.weight
}
fn default_render(&self, _: &mut Assets) -> Markup {
fn default_render(&self, _: &mut Context) -> Markup {
html! {
p id=[self.id()] class=[self.classes()] { (*self.html()) }
}