Skip to content

Commit

Permalink
Remove unused call
Browse files Browse the repository at this point in the history
  • Loading branch information
thomtrp committed Oct 9, 2024
1 parent 4afafaf commit 1c7bcf6
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import { useDropdown } from '@/ui/layout/dropdown/hooks/useDropdown';
import { MenuItem } from '@/ui/navigation/menu-item/components/MenuItem';
import { navigationMemorizedUrlState } from '@/ui/navigation/states/navigationMemorizedUrlState';

import { useObjectMetadataItem } from '@/object-metadata/hooks/useObjectMetadataItem';
import { useDestroyManyRecords } from '@/object-record/hooks/useDestroyManyRecords';
import { useRestoreManyRecords } from '@/object-record/hooks/useRestoreManyRecords';
import { recordStoreFamilyState } from '@/object-record/record-store/states/recordStoreFamilyState';
Expand Down Expand Up @@ -42,9 +41,7 @@ export const ShowPageMoreButton = ({
const { restoreManyRecords } = useRestoreManyRecords({
objectNameSingular,
});
const { objectMetadataItem } = useObjectMetadataItem({
objectNameSingular,
});

const handleDelete = () => {
deleteOneRecord(recordId);
closeDropdown();
Expand Down

0 comments on commit 1c7bcf6

Please sign in to comment.