Next.js Discord

Discord Forum

send api request success and throw error RangeError: Maximum call stack size exceeded\

Unanswered
Siberian Husky posted this in #help-forum
Open in Discord
Siberian HuskyOP
I have a component called user-form.tsx that submits form for new user data during put request.

I made an async function inside the component called onSubmit to send the data from the form to the update API and get the updateUser server action function into the try block, the user get updates with no error but the catch block in the client component throw the error provide in the attachment error-message.txt
all the attachments provided as files in this message

1 Reply

Siberian HuskyOP
؟