service page updated for multiple data

This commit is contained in:
nabijonovdavronbek619@gmail.com
2026-02-17 19:12:52 +05:00
parent 974d31c096
commit 137dc3e7c2
18 changed files with 323 additions and 138 deletions

View File

@@ -55,7 +55,7 @@ export function PriceModal() {
});
setErrors({
name: "",
number: '',
number: "",
});
}
}, [isOpen]);
@@ -144,8 +144,6 @@ export function PriceModal() {
number: Number(cleanPhone.slice(3)), // ✅ String sifatida yuborish
product: product?.id || 0,
};
console.log("Sended data:", sendedData);
formRequest.mutate(sendedData);
};
@@ -264,4 +262,4 @@ export function PriceModal() {
</div>
</div>
);
}
}