Skip to content

Commit d5a2e60

Browse files
committed
chore: update formState
1 parent ccb62e4 commit d5a2e60

File tree

4 files changed

+4
-8
lines changed

4 files changed

+4
-8
lines changed

packages/plugin-rsc/examples/basic/src/framework/entry.ssr.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,7 @@ export async function renderHTML(
3939
? undefined
4040
: bootstrapScriptContent,
4141
nonce: options?.nonce,
42-
// no types
43-
...{ formState: options?.formState },
42+
formState: options?.formState,
4443
})
4544

4645
let responseStream: ReadableStream<Uint8Array> = htmlStream

packages/plugin-rsc/examples/starter-cf-single/src/framework/entry.ssr.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,7 @@ export async function renderHTML(
3737
? undefined
3838
: bootstrapScriptContent,
3939
nonce: options?.nonce,
40-
// no types
41-
...{ formState: options?.formState },
40+
formState: options?.formState,
4241
})
4342

4443
let responseStream: ReadableStream<Uint8Array> = htmlStream

packages/plugin-rsc/examples/starter/src/framework/entry.ssr.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,7 @@ export async function renderHTML(
4444
? undefined
4545
: bootstrapScriptContent,
4646
nonce: options?.nonce,
47-
// no types
48-
...{ formState: options?.formState },
47+
formState: options?.formState,
4948
})
5049

5150
let responseStream: ReadableStream<Uint8Array> = htmlStream

packages/plugin-rsc/src/extra/ssr.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,7 @@ export async function renderHtml(
3636
? undefined
3737
: bootstrapScriptContent,
3838
nonce: options?.nonce,
39-
// no types
40-
...{ formState: options?.formState },
39+
formState: options?.formState,
4140
})
4241

4342
let responseStream: ReadableStream<Uint8Array> = htmlStream

0 commit comments

Comments
 (0)