/** * External dependencies */ import { __ } from '@wordpress/i18n'; import { Link } from '@woocommerce/components'; import { createInterpolateElement } from '@wordpress/element'; import { recordEvent } from '@woocommerce/tracks'; /** * Internal dependencies */ import { SidebarNavigationScreen } from './sidebar-navigation-screen'; import { ADMIN_URL } from '~/utils/admin-settings'; export const SidebarNavigationScreenPages = () => { return ( Editor | Pages.", 'woocommerce' ), { EditorLink: ( { recordEvent( 'customize_your_store_assembler_hub_editor_link_click', { source: 'pages', } ); window.open( `${ ADMIN_URL }site-editor.php`, '_blank' ); return false; } } href="" /> ), PageLink: ( ), } ) } content={ <>
} /> ); };