fix: RootRenderer的runtime error被隐藏问题 (#8839)

This commit is contained in:
RUNZE LU 2023-11-21 20:12:13 +08:00 committed by GitHub
parent 592c588944
commit 03ed733c74
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -474,7 +474,7 @@ export class RootRenderer extends React.Component<RootRendererProps> {
const store = this.store;
if (store.runtimeError) {
this.renderRuntimeError();
return this.renderRuntimeError();
}
return (