diff --git a/mailpoet/assets/js/src/automation/automation.tsx b/mailpoet/assets/js/src/automation/automation.tsx index a21bc946bc6..80f937d8802 100644 --- a/mailpoet/assets/js/src/automation/automation.tsx +++ b/mailpoet/assets/js/src/automation/automation.tsx @@ -2,7 +2,7 @@ import { useEffect, useState } from 'react'; import { createRoot } from 'react-dom/client'; import { BrowserRouter } from 'react-router-dom'; import { TopBarWithBeamer } from 'common/top-bar/top-bar'; -import { Popover, SlotFillProvider } from '@wordpress/components'; +import { SlotFillProvider } from '@wordpress/components'; import { useSelect } from '@wordpress/data'; import { registerTranslations } from 'common'; import { initializeApi } from './api'; @@ -82,7 +82,6 @@ function App(): JSX.Element { - ); diff --git a/mailpoet/assets/js/src/automation/editor/components/automation/index.tsx b/mailpoet/assets/js/src/automation/editor/components/automation/index.tsx index 903654fd0a4..b6efa8face3 100644 --- a/mailpoet/assets/js/src/automation/editor/components/automation/index.tsx +++ b/mailpoet/assets/js/src/automation/editor/components/automation/index.tsx @@ -2,7 +2,6 @@ import { useMemo, useRef } from 'react'; import { __unstableComposite as Composite, __unstableUseCompositeState as useCompositeState, - Popover, SlotFillProvider, } from '@wordpress/components'; import { useSelect } from '@wordpress/data'; @@ -71,7 +70,6 @@ export function Automation({
-
diff --git a/mailpoet/assets/js/src/automation/editor/index.tsx b/mailpoet/assets/js/src/automation/editor/index.tsx index 4e7be4bd87f..1f22868bfa8 100644 --- a/mailpoet/assets/js/src/automation/editor/index.tsx +++ b/mailpoet/assets/js/src/automation/editor/index.tsx @@ -1,7 +1,7 @@ import classnames from 'classnames'; import { createRoot } from 'react-dom/client'; import { useEffect, useState } from 'react'; -import { Button, Icon, Popover, SlotFillProvider } from '@wordpress/components'; +import { Button, Icon, SlotFillProvider } from '@wordpress/components'; import { store as noticesStore } from '@wordpress/notices'; import { dispatch, select as globalSelect, useSelect } from '@wordpress/data'; import { getSettings, setSettings } from '@wordpress/date'; @@ -167,7 +167,6 @@ function Editor(): JSX.Element { } /> {isActivationPanelOpened && } - ); diff --git a/mailpoet/assets/js/src/email-editor/engine/editor.tsx b/mailpoet/assets/js/src/email-editor/engine/editor.tsx index 1ec63062580..e3f76ec9803 100644 --- a/mailpoet/assets/js/src/email-editor/engine/editor.tsx +++ b/mailpoet/assets/js/src/email-editor/engine/editor.tsx @@ -1,7 +1,7 @@ import '@wordpress/format-library'; // Enables text formatting capabilities import { useSelect } from '@wordpress/data'; import { StrictMode, createRoot } from '@wordpress/element'; -import { Popover, SlotFillProvider } from '@wordpress/components'; +import { SlotFillProvider } from '@wordpress/components'; import { ShortcutProvider } from '@wordpress/keyboard-shortcuts'; import { EntityProvider } from '@wordpress/core-data'; import { initBlocks } from './blocks'; @@ -26,7 +26,6 @@ function Editor() { -