chore: use pending instead of async

This commit is contained in:
Jonathan Kelley committed 2022-12-25 01:43:22 -05:00
1 parent 9b0244ee5c
commit 3d69d3ea92
5 files changed
+11 -11

No files matched your search

+1 -1
View File
@@ -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()