Skip to content

Commit

Permalink
fixed tenantId issue (#784)
Browse files Browse the repository at this point in the history
  • Loading branch information
Bhavya-egov committed Jun 5, 2024
1 parent 4991b37 commit a30f168
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -568,6 +568,7 @@ const AddDeliveryRule = ({ targetedData, deliveryRules, setDeliveryRules, index,
const [showToast, setShowToast] = useState(null);
const { t } = useTranslation();
const prodRef = useRef();
const tenantId = Digit.ULBService.getCurrentTenantId();
const closeToast = () => setShowToast(null);
const { isLoading: deliveryTypeConfigLoading, data: deliveryTypeConfig } = Digit.Hooks.useCustomMDMS(
tenantId,
Expand Down

0 comments on commit a30f168

Please sign in to comment.