mirror of
https://github.com/DioxusLabs/dioxus
synced 2025-02-17 06:08:26 +00:00
pass the information on previous caller on clone
This commit is contained in:
parent
af091c5bf8
commit
9154b0f8ea
1 changed files with 1 additions and 1 deletions
|
@ -365,7 +365,7 @@ impl<T> Clone for UseSharedState<T> {
|
|||
Self {
|
||||
inner: self.inner.clone(),
|
||||
#[cfg(debug_assertions)]
|
||||
previous_borrow: Default::default(),
|
||||
previous_borrow: self.previous_borrow.clone(),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue