Didi not get res value

const [_, getFormData] = usePostData(‘/builds’, {}, ‘post’);

const importButtonHandle = (e) => {
e.preventDefault();
const isValidate = validateForm(formValue);
if (!isValidate) {

  const formData = new FormData();
  formData.append("title", files[0]?.name);
  formData.append("build", files);
  formData.append("isLive", "true");
  
  getFormData(formData).then(res => {
    console.log(res);
    if (res.success) {
      
   
			} else {

			}
		})
		.catch(err => {
			if (err) {
				console.log(err)
			}
		});
}

};

Hi @krushnagaikwad, just posting a code is not really going to get any response. In order for anyone to be able to assist you, they need to know which packages you are using, what you are trying to achieve, what is not working and what you have tried so far.