fix: use ready nodes in more places

This commit is contained in:
Jonathan Kelley committed 2022-12-25 01:37:00 -05:00
1 parent 85f6ea0545
commit 9b0244ee5c
10 files changed
+20 -20

No files matched your search

+2 -2
View File
@@ -8,7 +8,7 @@ use std::{
/// A boundary that will capture any errors from child components
pub struct ErrorBoundary {
error: RefCell<Option<CapturedError>>,
id: ScopeId,
_id: ScopeId,
}
/// An instance of an error captured by a descendant component.
@@ -36,7 +36,7 @@ impl ErrorBoundary {
pub fn new(id: ScopeId) -> Self {
Self {
error: RefCell::new(None),
id,
_id: id,
}
}