Skip to content

Commit 42c2794

Browse files
committed
fix(rsc-mf): render remote client counter from host client tree
1 parent d01e78d commit 42c2794

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

tests/integration/rsc-mf/host/src/server-component-root/App.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import 'server-only';
22
import { Suspense } from 'react';
33
import { AsyncRemoteServerInfo } from 'rscRemote/AsyncRemoteServerInfo';
4-
import { RemoteServerCard } from 'rscRemote/RemoteServerCard';
54
import RemoteServerDefault from 'rscRemote/RemoteServerDefault';
65
import remoteMeta, { getRemoteMetaLabel } from 'rscRemote/remoteMeta';
76
import { getServerOnlyInfo } from 'rscRemote/remoteServerOnly';
@@ -39,7 +38,7 @@ const App = () => {
3938
</Suspense>
4039
<RemoteServerDefault label="Remote Default Server Card" />
4140
<Suspense fallback={<div>Loading Remote RSC...</div>}>
42-
<RemoteServerCard label="Remote Federated Tree" />
41+
<RemoteServerDefault label="Remote Federated Tree" />
4342
</Suspense>
4443
<HostRemoteActionRunner />
4544
</div>

tests/integration/rsc-mf/host/src/server-component-root/HostRemoteActionRunner.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ export default function HostRemoteActionRunner() {
3737

3838
return (
3939
<div className="host-remote-action-runner">
40+
<RemoteClientCounterBridge />
4041
<RemoteClientBadge initialLabel="remote-client-badge-initial" />
4142
<button
4243
className="host-remote-run-actions"

0 commit comments

Comments
 (0)