chore: use pending instead of async
This commit is contained in:
1 parent
9b0244ee5c
commit
3d69d3ea92
5 files changed
+11
-11
No files matched your search
@@ -486,7 +486,7 @@ impl VirtualDom {
|
||||
}
|
||||
// If an error occurs, we should try to render the default error component and context where the error occured
|
||||
RenderReturn::Aborted(_placeholder) => panic!("Cannot catch errors during rebuild"),
|
||||
RenderReturn::Async(_) => unreachable!("Root scope cannot be an async component"),
|
||||
RenderReturn::Pending(_) => unreachable!("Root scope cannot be an async component"),
|
||||
}
|
||||
|
||||
self.finalize()
|
||||
|
||||
Reference in new issue
Block a user