fix placeholder template names

This commit is contained in:
Evan Almloff committed 2024-01-15 10:15:55 -06:00
1 parent 0f01f3fd84
commit a1c68448a7
3 files changed
+17 -12

No files matched your search

+1 -4
View File
@@ -58,10 +58,7 @@ impl VirtualDom {
pub(crate) fn try_reclaim(&mut self, el: ElementId) -> Option<()> {
if el.0 == 0 {
panic!(
"Cannot reclaim the root element - {:#?}",
std::backtrace::Backtrace::force_capture()
);
panic!("Cannot reclaim the root element",);
}
self.elements.try_remove(el.0).map(|_| ())