fix ErrorBoundary starting in error state in CSR
This commit is contained in:
parent
737949cff6
commit
8dc7338b85
|
@ -175,9 +175,11 @@ where
|
|||
}
|
||||
state
|
||||
} else {
|
||||
let fallback = (!self.errors_empty.get())
|
||||
.then(|| (self.fallback)(self.errors.clone()).build());
|
||||
ErrorBoundaryViewState {
|
||||
children: children.take().unwrap(),
|
||||
fallback: None,
|
||||
fallback,
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue