Skip to content

Commit 976afb6

Browse files
committed
chore: cleanup
1 parent 162f501 commit 976afb6

File tree

1 file changed

+0
-6
lines changed
  • packages/plugin-rsc/examples/browser-mode/src/framework

1 file changed

+0
-6
lines changed

packages/plugin-rsc/examples/browser-mode/src/framework/entry.rsc.tsx

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,6 @@ export function initialize() {
1313
ReactServer.setRequireModule({ load: (id) => import(/* @vite-ignore */ id) })
1414
}
1515

16-
let root: React.ReactNode
17-
18-
export function setRoot(root_: React.ReactNode) {
19-
root = root_
20-
}
21-
2216
export async function fetchServer(request: Request): Promise<Response> {
2317
const isAction = request.method === 'POST'
2418
let returnValue: unknown | undefined

0 commit comments

Comments
 (0)