🚧 Actualiza dependencias y revisa código
This commit is contained in:
parent
8856699c3b
commit
c046014d04
4 changed files with 678 additions and 547 deletions
|
|
@ -158,7 +158,7 @@ impl<C: Component> ComponentRender for C {
|
|||
action::component::BeforeRender::dispatch(self, cx);
|
||||
|
||||
// Prepara el renderizado: recorre la cadena de temas, luego el componente.
|
||||
let prepare = match 'resolve: {
|
||||
let result = 'resolve: {
|
||||
let mut t: Option<ThemeRef> = Some(cx.theme());
|
||||
while let Some(theme) = t {
|
||||
if let Some(r) = theme.handle_component(self, cx) {
|
||||
|
|
@ -167,7 +167,8 @@ impl<C: Component> ComponentRender for C {
|
|||
t = theme.parent();
|
||||
}
|
||||
self.prepare(cx)
|
||||
} {
|
||||
};
|
||||
let prepare = match result {
|
||||
Ok(markup) => markup,
|
||||
Err(error) => {
|
||||
crate::trace::error!(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue