mirror of
https://github.com/DioxusLabs/dioxus
synced 2024-11-23 04:33:06 +00:00
remove static bound on owner
This commit is contained in:
parent
90b4dd806e
commit
88198fc47c
1 changed files with 1 additions and 1 deletions
|
@ -102,7 +102,7 @@ pub fn use_shared_state<T: 'static>(cx: &ScopeState) -> Option<&UseSharedState<T
|
|||
state.as_ref().map(|s| &s.state)
|
||||
}
|
||||
|
||||
struct UseSharedStateOwner<T: 'static> {
|
||||
struct UseSharedStateOwner<T> {
|
||||
state: UseSharedState<T>,
|
||||
scope_id: ScopeId,
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue