diff --git a/CHANGELOG.md b/CHANGELOG.md index b35adebbc..d8e7537ac 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,6 +16,7 @@ * Display `Shared` facet when user opens "Move holdings/items to another instance" modal. Refs UIIN-3198. * ECS - Allow 'Move holdings/items to another instance' if instance is shared. Refs UIIN-3188. * Fix '"location name" is undefined' error when trying to open instance details on ECS. Fixes UIIN-3196. +* Decrease the amount of rerenders in `ConsortialHoldings` component. Fixes UIIN-3196. ## [12.0.8](https://github.com/folio-org/ui-inventory/tree/v12.0.8) (2024-12-24) [Full Changelog](https://github.com/folio-org/ui-inventory/compare/v12.0.7...v12.0.8) diff --git a/src/Instance/InstanceDetails/InstanceDetails.js b/src/Instance/InstanceDetails/InstanceDetails.js index cad55bb7f..6538ee4ef 100644 --- a/src/Instance/InstanceDetails/InstanceDetails.js +++ b/src/Instance/InstanceDetails/InstanceDetails.js @@ -8,7 +8,6 @@ import React, { import { useIntl, FormattedMessage } from 'react-intl'; import { useLocation } from 'react-router-dom'; import PropTypes from 'prop-types'; -import { uniqueId } from 'lodash'; import { AppIcon, @@ -212,7 +211,7 @@ const InstanceDetails = forwardRef(({ {isConsortialHoldingsVisible && (