fix formatting
This commit is contained in:
1 parent
78ef453888
commit
05a6dda89c
8 files changed
+15
-15
No files matched your search
@@ -86,11 +86,9 @@ fn current_owner<S: Storage<T>, T>() -> Owner<S> {
|
||||
}
|
||||
|
||||
// Otherwise get the owner from the current reactive context.
|
||||
match ReactiveContext::current(){
|
||||
match ReactiveContext::current() {
|
||||
Some(current_reactive_context) => owner_in_scope(current_reactive_context.origin_scope()),
|
||||
None => {
|
||||
owner_in_scope(current_scope_id().expect("in a virtual dom"))
|
||||
}
|
||||
None => owner_in_scope(current_scope_id().expect("in a virtual dom")),
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user