fix: use ready nodes in more places
This commit is contained in:
1 parent
85f6ea0545
commit
9b0244ee5c
10 files changed
+20
-20
No files matched your search
@@ -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,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user