mirror of
https://github.com/hanzoai/next.js.git
synced 2026-10-30 14:46:38 +00:00
Adds a test case demonstrating that `useActionState` doesn't work correctly when the `'use cache'` function is exported separately, due to wrong function arity information in the server reference information byte. This is currently a limitation of the Next.js compiler, which will be addressed in a future PR. Also cleans up `console.log` from the existing `useActionState` test.
6 lines
84 B
TypeScript
6 lines
84 B
TypeScript
import { Form } from './form'
|
|
|
|
export default function Page() {
|
|
return <Form />
|
|
}
|