diff --git a/packages/edit-site/src/components/dataviews/item-actions.js b/packages/edit-site/src/components/dataviews/item-actions.js
index 5c29c37b438d4..92ba363cbeef6 100644
--- a/packages/edit-site/src/components/dataviews/item-actions.js
+++ b/packages/edit-site/src/components/dataviews/item-actions.js
@@ -8,8 +8,8 @@ import {
privateApis as componentsPrivateApis,
} from '@wordpress/components';
import { __ } from '@wordpress/i18n';
-import { useMemo, useState, Fragment, Children } from '@wordpress/element';
-import { moreVertical, Icon } from '@wordpress/icons';
+import { useMemo, useState } from '@wordpress/element';
+import { moreVertical } from '@wordpress/icons';
/**
* Internal dependencies
@@ -20,7 +20,6 @@ const {
DropdownMenuV2Ariakit: DropdownMenu,
DropdownMenuGroupV2Ariakit: DropdownMenuGroup,
DropdownMenuItemV2Ariakit: DropdownMenuItem,
- DropdownMenuSeparatorV2Ariakit: DropdownMenuSeparator,
DropdownMenuItemLabelV2Ariakit: DropdownMenuItemLabel,
} = unlock( componentsPrivateApis );
@@ -38,12 +37,7 @@ function ButtonTrigger( { action, onClick } ) {
function DropdownMenuItemTrigger( { action, onClick } ) {
return (
-
- }
- >
+
{ action.label }
);
@@ -161,7 +155,6 @@ export default function ItemActions( { item, actions, viewType } ) {
(
-
- { i > 0 && }
- { child }
-
- ) );
-}
-
function GridItemActions( { item, primaryActions, secondaryActions } ) {
return (
-
- { !! primaryActions.length && (
-
- ) }
- { !! secondaryActions.length && (
-
- ) }
-
+ { !! primaryActions.length && (
+
+ ) }
+ { !! secondaryActions.length && (
+
+ ) }
);
}