diff --git a/packages/block-library/src/social-links/edit.js b/packages/block-library/src/social-links/edit.js
index 2bbcc4f614e2f..e613200348a59 100644
--- a/packages/block-library/src/social-links/edit.js
+++ b/packages/block-library/src/social-links/edit.js
@@ -8,7 +8,6 @@ import clsx from 'clsx';
*/
import { useEffect, useRef } from '@wordpress/element';
import {
- BlockControls,
useInnerBlocksProps,
useBlockProps,
InspectorControls,
@@ -20,16 +19,12 @@ import {
store as blockEditorStore,
} from '@wordpress/block-editor';
import {
- MenuGroup,
- MenuItem,
PanelBody,
ToggleControl,
- ToolbarDropdownMenu,
__experimentalToggleGroupControl as ToggleGroupControl,
__experimentalToggleGroupControlOption as ToggleGroupControlOption,
} from '@wordpress/components';
import { __ } from '@wordpress/i18n';
-import { check } from '@wordpress/icons';
import { useSelect } from '@wordpress/data';
const sizeOptions = [
@@ -119,10 +114,6 @@ export function SocialLinksEdit( props ) {
renderAppender: hasAnySelected && InnerBlocks.ButtonBlockAppender,
} );
- const POPOVER_PROPS = {
- position: 'bottom right',
- };
-
const colorSettings = [
{
// Use custom attribute as fallback to prevent loss of named color selection when
@@ -163,43 +154,6 @@ export function SocialLinksEdit( props ) {
return (
<>
-
-
- { ( { onClose } ) => (
-
- { sizeOptions.map( ( entry ) => {
- return (
-
- );
- } ) }
-
- ) }
-
-