feat: fix
This commit is contained in:
@@ -65,7 +65,7 @@ const CreateServiceModal = ({
|
|||||||
},
|
},
|
||||||
});
|
});
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
console.log(form.values.categoryPrices);
|
console.log(form.values);
|
||||||
}, [form.values]);
|
}, [form.values]);
|
||||||
const getPriceBody = () => {
|
const getPriceBody = () => {
|
||||||
switch (priceType) {
|
switch (priceType) {
|
||||||
@@ -75,7 +75,7 @@ const CreateServiceModal = ({
|
|||||||
placeholder={"Введите стоимость услуги"}
|
placeholder={"Введите стоимость услуги"}
|
||||||
label={"Cтоимость услуги"}
|
label={"Cтоимость услуги"}
|
||||||
hideControls
|
hideControls
|
||||||
{...form.getInputProps("cost")}
|
{...form.getInputProps("price")}
|
||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
case ServicePriceType.BY_RANGE:
|
case ServicePriceType.BY_RANGE:
|
||||||
|
|||||||
Reference in New Issue
Block a user