mirror of
https://github.com/DioxusLabs/dioxus
synced 2024-11-10 14:44:12 +00:00
fix formatting
This commit is contained in:
parent
b43dfb1f67
commit
3545c14a38
2 changed files with 5 additions and 5 deletions
|
@ -74,8 +74,8 @@ pub(crate) mod innerlude {
|
||||||
pub use crate::innerlude::{
|
pub use crate::innerlude::{
|
||||||
fc_to_builder, generation, once, schedule_update, schedule_update_any, vdom_is_rendering,
|
fc_to_builder, generation, once, schedule_update, schedule_update_any, vdom_is_rendering,
|
||||||
AnyValue, Attribute, AttributeValue, CapturedError, Component, DynamicNode, Element, ElementId,
|
AnyValue, Attribute, AttributeValue, CapturedError, Component, DynamicNode, Element, ElementId,
|
||||||
Event, Fragment, IntoDynNode, Mutation, MutationsVec, Properties, ScopeId, Task,
|
Event, Fragment, IntoDynNode, Mutation, MutationsVec, Properties, ScopeId, Task, Template,
|
||||||
Template, TemplateAttribute, TemplateNode, VComponent, VNode, VNodeInner, VPlaceholder, VText,
|
TemplateAttribute, TemplateNode, VComponent, VNode, VNodeInner, VPlaceholder, VText,
|
||||||
VirtualDom, WriteMutations,
|
VirtualDom, WriteMutations,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -114,7 +114,7 @@ impl ScopeContext {
|
||||||
}
|
}
|
||||||
|
|
||||||
let mut search_parent = self.parent_id;
|
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 {
|
while let Some(parent_id) = search_parent {
|
||||||
let parent = runtime.get_context(parent_id).unwrap();
|
let parent = runtime.get_context(parent_id).unwrap();
|
||||||
tracing::trace!(
|
tracing::trace!(
|
||||||
|
@ -133,8 +133,8 @@ impl ScopeContext {
|
||||||
}
|
}
|
||||||
None
|
None
|
||||||
})
|
})
|
||||||
.flatten()
|
.flatten();
|
||||||
{
|
match context {
|
||||||
Some(ctx) => Some(ctx),
|
Some(ctx) => Some(ctx),
|
||||||
None => {
|
None => {
|
||||||
tracing::trace!(
|
tracing::trace!(
|
||||||
|
|
Loading…
Reference in a new issue