silverwolf-x's picture
download
raw
528 Bytes
x It is not allowed to define inline "use server" annotated Server Actions in Client Components.
| To use Server Actions in a Client Component, you can either export them from a separate file with "use server" at the top, or pass them down through props from a Server Component.
|
| Read more: https://nextjs.org/docs/app/api-reference/directives/use-server#using-server-functions-in-a-client-component
|
,-[input.js:5:1]
4 | async function fn() {
5 | 'use server'
: ^^^^^^^^^^^^
6 | }
`----

Xet Storage Details

Size:
528 Bytes
·
Xet hash:
cf12b38ad3433b661dc34b52aa65da105a9c41ae31781126f7ddebeeeb12f6d4

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