feature/IO-3357-Reynolds-DMS-API - Adjust useSplitTreatments to useTreatments

This commit is contained in:
Dave
2025-12-09 12:12:44 -05:00
parent 2408511cdc
commit b2b4ff7917
56 changed files with 112 additions and 112 deletions

View File

@@ -1,4 +1,4 @@
import { useSplitTreatments } from "@splitsoftware/splitio-react";
import { useTreatments } from "@splitsoftware/splitio-react";
import { Form, Input, Radio, Select } from "antd";
import { useTranslation } from "react-i18next";
import { connect } from "react-redux";
@@ -17,7 +17,7 @@ const mapStateToProps = createStructuredSelector({
export function PaymentFormComponent({ form, bodyshop, disabled }) {
const {
treatments: { Qb_Multi_Ar }
} = useSplitTreatments({
} = useTreatments({
attributes: {},
names: ["Qb_Multi_Ar"],
splitKey: bodyshop?.imexshopid