fix: dont panic lazynodes
This commit is contained in:
1 parent
afeb308a1f
commit
f153cdf61a
1 file changed
-3
@@ -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)
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user