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, InputNumber } from "antd";
import { useTranslation } from "react-i18next";
import { connect } from "react-redux";
@@ -20,7 +20,7 @@ export function ShopInfoRbacComponent({ bodyshop }) {
const { t } = useTranslation();
const {
treatments: { Simple_Inventory }
} = useSplitTreatments({
} = useTreatments({
attributes: {},
names: ["Simple_Inventory"],
splitKey: bodyshop && bodyshop.imexshopid