feat: fix

This commit is contained in:
2024-10-02 09:59:59 +03:00
parent ec63a51109
commit 12dd5c9e38

View File

@@ -65,7 +65,7 @@ const CreateServiceModal = ({
},
});
useEffect(() => {
console.log(form.values.categoryPrices);
console.log(form.values);
}, [form.values]);
const getPriceBody = () => {
switch (priceType) {
@@ -75,7 +75,7 @@ const CreateServiceModal = ({
placeholder={"Введите стоимость услуги"}
label={"Cтоимость услуги"}
hideControls
{...form.getInputProps("cost")}
{...form.getInputProps("price")}
/>
);
case ServicePriceType.BY_RANGE: