Date: 2024-10-09 22:26:49
Score: 1
Natty:
- Destructure refetch from usePrice properly. The proper way
const { data, refetch } = usePrice();
- Pass correct variable to the refetch. The correct usage is
refetch({ variables: formData })
Reasons:
- Low length (0.5):
- Has code block (-0.5):
- Low reputation (1):
Posted by: Sam Tags