fix formatting

This commit is contained in:
Evan Almloff 2024-01-09 11:36:45 -06:00
parent b43dfb1f67
commit 3545c14a38
2 changed files with 5 additions and 5 deletions

View file

@ -74,8 +74,8 @@ pub(crate) mod innerlude {
pub use crate::innerlude::{
fc_to_builder, generation, once, schedule_update, schedule_update_any, vdom_is_rendering,
AnyValue, Attribute, AttributeValue, CapturedError, Component, DynamicNode, Element, ElementId,
Event, Fragment, IntoDynNode, Mutation, MutationsVec, Properties, ScopeId, Task,
Template, TemplateAttribute, TemplateNode, VComponent, VNode, VNodeInner, VPlaceholder, VText,
Event, Fragment, IntoDynNode, Mutation, MutationsVec, Properties, ScopeId, Task, Template,
TemplateAttribute, TemplateNode, VComponent, VNode, VNodeInner, VPlaceholder, VText,
VirtualDom, WriteMutations,
};

View file

@ -114,7 +114,7 @@ impl ScopeContext {
}
let mut search_parent = self.parent_id;
match with_runtime(|runtime: &crate::runtime::Runtime| {
let context = with_runtime(|runtime: &crate::runtime::Runtime| {
while let Some(parent_id) = search_parent {
let parent = runtime.get_context(parent_id).unwrap();
tracing::trace!(
@ -133,8 +133,8 @@ impl ScopeContext {
}
None
})
.flatten()
{
.flatten();
match context {
Some(ctx) => Some(ctx),
None => {
tracing::trace!(