mirror of
https://github.com/DioxusLabs/dioxus
synced 2025-02-17 06:08:26 +00:00
fix: dont panic lazynodes
This commit is contained in:
parent
afeb308a1f
commit
f153cdf61a
1 changed files with 0 additions and 3 deletions
|
@ -55,9 +55,6 @@ impl<'a, 'b> LazyNodes<'a, 'b> {
|
|||
/// ```
|
||||
#[must_use]
|
||||
pub fn call(mut self, f: &'a ScopeState) -> VNode<'a> {
|
||||
if self.inner.is_heap() {
|
||||
panic!();
|
||||
}
|
||||
(self.inner)(f)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue