feature/IO-3357-Reynolds-DMS-API - Adjust useSplitTreatments to useTreatments
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { useSplitTreatments } from "@splitsoftware/splitio-react";
|
||||
import { useTreatments } from "@splitsoftware/splitio-react";
|
||||
import { Form, Input, InputNumber, Modal, Select, Switch } from "antd";
|
||||
import { useEffect } from "react";
|
||||
import { useTranslation } from "react-i18next";
|
||||
@@ -28,7 +28,7 @@ export function JobLinesUpsertModalComponent({ bodyshop, open, jobLine, handleCa
|
||||
|
||||
const {
|
||||
treatments: { Allow_Negative_Jobline_Price, Autohouse_Detail_line }
|
||||
} = useSplitTreatments({
|
||||
} = useTreatments({
|
||||
attributes: {},
|
||||
names: ["Allow_Negative_Jobline_Price", "Autohouse_Detail_line"],
|
||||
splitKey: bodyshop.imexshopid
|
||||
|
||||
Reference in New Issue
Block a user