Skip to content

Commit

Permalink
fix variable name
Browse files Browse the repository at this point in the history
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
  • Loading branch information
AbanoubGhadban and coderabbitai[bot] authored Oct 31, 2024
1 parent e7e3857 commit 3b7728a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion node_package/src/serverRenderReactComponent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ const transformRenderStreamChunksToResultObject = (renderState: StreamRenderStat
return { readableStream: readableStream as Readable, pipeToTransform, writeChunk, emitError, endStream };
}

const streamRenderReactComponen = (reactRenderingResult: ReactElement, options: RenderParams) => {
const streamRenderReactComponent = (reactRenderingResult: ReactElement, options: RenderParams) => {
const { name: componentName, throwJsErrors } = options;
const renderState: StreamRenderState = {
result: null,
Expand Down

0 comments on commit 3b7728a

Please sign in to comment.