Skip to content

Commit 5d8dd62

Browse files
authored
Update manual-setup.mdx
Otherwise here's the error I am seeing ``` Type is missing the following properties from type : append delete get has and 6 more. ```
1 parent 4d85a45 commit 5d8dd62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/platforms/javascript/guides/nextjs/manual-setup.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,7 @@ export default function ServerComponent() {
379379
"myServerAction", // The name you want to associate this Server Action with in Sentry
380380
{
381381
formData, // Optionally pass in the form data
382-
headers: headers(), // Optionally pass in headers
382+
headers: await headers(), // Optionally pass in headers
383383
recordResponse: true, // Optionally record the server action response
384384
},
385385
async () => {

0 commit comments

Comments
 (0)