import { createElement, Component, useContext } from '@wordpress/element' import { sprintf, __ } from 'ct-i18n' import { Link } from '@reach/router' import ctEvents from 'ct-events' const Navigation = () => { const userNavigationLinks = [] const endUserNavigationLinks = [] ctEvents.trigger('ct:dashboard:navigation-links', userNavigationLinks) ctEvents.trigger( 'ct:dashboard:end-navigation-links', endUserNavigationLinks ) let hasPlugins = !ctDashboardLocalizations.plugin_data.hide_plugins_tab return (