Reactjs – Typescript does not accept additional prop from server action function on useFormState
I'm having trouble trying to integrate the Next.js server actions with useFormState (for displaying input errors on client side) and Typescript. Following their official documentation here, they suggest to add a new prop to the server action function, as for…