mirror of
https://github.com/DioxusLabs/dioxus
synced 2024-11-27 14:40:44 +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::{
|
||||
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,
|
||||
};
|
||||
|
||||
|
|
|
@ -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!(
|
||||
|
|
Loading…
Reference in a new issue