diff --git a/CHANGELOG.md b/CHANGELOG.md index a75cbd96d..5d1177cb1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ * Instance 3rd pane: Adjust behavior when returning to instance from holdings/item full screen. Refs UIIN-2453. * Consortial holdings accordion is not appearing after the sharing of Instance. Fixes UIIN-2629. * Reset CheckboxFacet state.more when user resets search form and fewer facet options are loaded. Fixes UIIN-2531. +* Edit instance success toast no longer shows the instance HRID. Fixes UIIN-2588. ## [10.0.0](https://github.com/folio-org/ui-inventory/tree/v10.0.0) (2023-10-13) [Full Changelog](https://github.com/folio-org/ui-inventory/compare/v9.4.12...v10.0.0) diff --git a/src/Instance/InstanceEdit/InstanceEdit.js b/src/Instance/InstanceEdit/InstanceEdit.js index f0ecda89b..ed10ba12c 100644 --- a/src/Instance/InstanceEdit/InstanceEdit.js +++ b/src/Instance/InstanceEdit/InstanceEdit.js @@ -54,13 +54,13 @@ const InstanceEdit = ({ const goBack = useGoBack(`/inventory/view/${instanceId}`); - const onSuccess = useCallback((updatedInstance) => { + const onSuccess = useCallback(() => { const message = instance?.shared ? ( ) : ( );