fix: dont panic lazynodes

This commit is contained in:
Jonathan Kelley 2022-12-09 16:40:09 -08:00
parent afeb308a1f
commit f153cdf61a

View file

@ -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)
}
}