79567407

Date: 2025-04-10 19:16:47
Score: 1
Natty:
Report link

setValue should have two arguments. The first argument is the name of the input, second is the new value.

const name = 'input';
setValue(name, '');

https://react-hook-form.com/docs/useform/setvalue

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Squiggle