silverwolf-x's picture
download
raw
2.22 kB
x You're importing a module that depends on `flushSync` into a React Server Component module. This API is only available in Client Components. To fix, mark the file (or its parent) with the `"use
| client"` directive.
| Learn more: https://nextjs.org/docs/app/api-reference/directives/use-client
|
|
,-[input.js:1:1]
1 | import { flushSync, unstable_batchedUpdates } from 'react-dom'
: ^^^^^^^^^
`----
x You're importing a module that depends on `unstable_batchedUpdates` into a React Server Component module. This API is only available in Client Components. To fix, mark the file (or its parent)
| with the `"use client"` directive.
| Learn more: https://nextjs.org/docs/app/api-reference/directives/use-client
|
|
,-[input.js:1:1]
1 | import { flushSync, unstable_batchedUpdates } from 'react-dom'
: ^^^^^^^^^^^^^^^^^^^^^^^
`----
x You're importing a module that depends on `useActionState` into a React Server Component module. This API is only available in Client Components. To fix, mark the file (or its parent) with the
| `"use client"` directive.
| Learn more: https://nextjs.org/docs/app/api-reference/directives/use-client
|
|
,-[input.js:3:1]
2 |
3 | import { useActionState } from 'react'
: ^^^^^^^^^^^^^^
`----
x You're importing a module that depends on `useFormStatus` into a React Server Component module. This API is only available in Client Components. To fix, mark the file (or its parent) with the
| `"use client"` directive.
| Learn more: https://nextjs.org/docs/app/api-reference/directives/use-client
|
|
,-[input.js:5:1]
4 |
5 | import { useFormStatus, useFormState } from 'react-dom'
: ^^^^^^^^^^^^^
`----
x You're importing a module that depends on `useFormState` into a React Server Component module. This API is only available in Client Components. To fix, mark the file (or its parent) with the
| `"use client"` directive.
| Learn more: https://nextjs.org/docs/app/api-reference/directives/use-client
|
|
,-[input.js:5:1]
4 |
5 | import { useFormStatus, useFormState } from 'react-dom'
: ^^^^^^^^^^^^
`----

Xet Storage Details

Size:
2.22 kB
·
Xet hash:
92a918e78bd54be89b47e7b5422fe027fc44a99c1f5805c57e786d7593a29958

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.