We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c969e8 commit e42d736Copy full SHA for e42d736
node_package/src/serverRenderReactComponent.ts
@@ -175,8 +175,8 @@ const serverRenderReactComponent: typeof serverRenderReactComponentInternal = (o
175
} finally {
176
// Reset console history after each render.
177
// See `RubyEmbeddedJavaScript.console_polyfill` for initialization.
178
- // We don't need to clear the console history if the result is a promise
179
- // Promises only supported in node renderer and node renderer takes care of cleanining console history
+ // We don't need to clear the console history if the result is a promise.
+ // Promises are only supported in the node renderer and it takes care of cleaning console history.
180
if (typeof result === 'string') {
181
console.history = [];
182
}
0 commit comments