79271939

Date: 2024-12-11 13:48:15
Score: 1.5
Natty:
Report link

you should add the second generic parameter in your useActionState declaration to fix typescript error:

const [state, formAction, pending] = useActionState<SignInFormInitialState, FormData>(
    signIn,
    initialState
  );

enter image description here

Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Unsleeping