feature/IO-3357-Reynolds-DMS-API - Adjust useSplitTreatments to useTreatments
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { DeleteFilled, DownOutlined, WarningFilled } from "@ant-design/icons";
|
||||
import { useSplitTreatments } from "@splitsoftware/splitio-react";
|
||||
import { useTreatments } from "@splitsoftware/splitio-react";
|
||||
import { Checkbox, Divider, Dropdown, Form, Input, InputNumber, Radio, Select, Space, Tag } from "antd";
|
||||
import { useTranslation } from "react-i18next";
|
||||
import { connect } from "react-redux";
|
||||
@@ -36,7 +36,7 @@ export function PartsOrderModalComponent({
|
||||
|
||||
const {
|
||||
treatments: { OEConnection, OEConnection_PriceChange }
|
||||
} = useSplitTreatments({
|
||||
} = useTreatments({
|
||||
attributes: {},
|
||||
names: ["OEConnection", "OEConnection_PriceChange"],
|
||||
splitKey: bodyshop.imexshopid
|
||||
|
||||
Reference in New Issue
Block a user