Fix the root error boundary during suspense in ssr (#4710)

* Fix the root error boundary during suspense in ssr

* fix some typos
This commit is contained in:
Evan Almloff authored and GitHub committed 2025-10-01 17:10:28 -07:00
1 parent 10912f4750
commit ad40f81607
9 files changed
+49 -13

No files matched your search

+1 -1
View File
@@ -241,7 +241,7 @@ impl SsrRendererPool {
// check if there are any errors
let errors = virtual_dom.in_runtime(|| {
let error_context: ErrorContext = ScopeId::APP
let error_context: ErrorContext = ScopeId::ROOT_ERROR_BOUNDARY
.consume_context()
.expect("The root should be under an error boundary");
let errors = error_context.errors();