Skip to content

Commit c06ea3b

Browse files
committed
feat/O3-5265
1 parent 1fa6e02 commit c06ea3b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/esm-bed-management-app/src/bed-administration/bed-administration-table.component.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ const BedAdministrationTable: React.FC = () => {
8383
[mutateBedsGroupedByLocation],
8484
);
8585

86-
const openDeleteBedTypeModal = useCallback(
86+
const openDeleteBedModal = useCallback(
8787
(uuid: string) => {
8888
const dispose = showModal('delete-bed-confirmation-modal', {
8989
uuid,
@@ -156,15 +156,15 @@ const BedAdministrationTable: React.FC = () => {
156156
label={t('deleteBedType', 'Delete bed')}
157157
onClick={(e) => {
158158
e.preventDefault();
159-
openDeleteBedTypeModal(bed.uuid);
159+
openDeleteBedModal(bed.uuid);
160160
}}
161161
size={responsiveSize}>
162162
<TrashCan />
163163
</IconButton>
164164
</>
165165
),
166166
}));
167-
}, [handleLaunchBedWorkspace, openDeleteBedTypeModal, responsiveSize, paginatedData, t]);
167+
}, [handleLaunchBedWorkspace, openDeleteBedModal, responsiveSize, paginatedData, t]);
168168

169169
if (isLoadingBedsGroupedByLocation && !bedsGroupedByLocation.length) {
170170
return (

0 commit comments

Comments
 (0)