service page updated for multiple data
This commit is contained in:
@@ -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>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user