mirror of
https://github.com/DioxusLabs/dioxus
synced 2024-11-23 12:43:08 +00:00
fix: provide_root_context on root scopes
This commit is contained in:
parent
02abb5e8d4
commit
d9a07ddddb
1 changed files with 1 additions and 0 deletions
|
@ -695,6 +695,7 @@ impl ScopeState {
|
|||
.insert(TypeId::of::<T>(), value.clone())
|
||||
.map(|f| f.downcast::<T>().ok())
|
||||
.flatten();
|
||||
return value;
|
||||
}
|
||||
|
||||
let mut search_parent = self.parent_scope;
|
||||
|
|
Loading…
Reference in a new issue