Skip to content

Commit b69bb79

Browse files
fix problem of returning the wrong stream
1 parent 33fd8a0 commit b69bb79

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

node_package/src/RSCPayloadGenerator.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ export const getRSCPayloadStream = async (
7171
const stream1 = new PassThrough();
7272
stream.pipe(stream1);
7373
const stream2 = new PassThrough();
74-
stream1.pipe(stream2);
74+
stream.pipe(stream2);
7575

7676
const streamInfo: RSCPayloadStreamInfo = {
7777
componentName,

yarn.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5224,7 +5224,7 @@ react-is@^18.0.0:
52245224

52255225
"react-on-rails-rsc@git+https://github.com/shakacode/react_on_rails_rsc.git#ssr-support":
52265226
version "19.0.0"
5227-
resolved "git+https://github.com/shakacode/react_on_rails_rsc.git#f71fabc8eb62b08cb4d590da85d2b519d9f8d451"
5227+
resolved "git+https://github.com/shakacode/react_on_rails_rsc.git#c95a692b493e2dfc650e38d4378d61bd3194e8c8"
52285228
dependencies:
52295229
acorn-loose "^8.3.0"
52305230
neo-async "^2.6.1"

0 commit comments

Comments
 (0)