From d65736c5f3f8abe3f5b28eb250df37a2a689c212 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Albert=20Juh=C3=A9=20Lluveras?= Date: Mon, 17 Jun 2019 10:09:59 +0200 Subject: [PATCH] Remove test menu from Orders panel (https://github.com/woocommerce/woocommerce-admin/pull/2438) --- .../header/activity-panel/panels/orders.js | 26 ++----------------- 1 file changed, 2 insertions(+), 24 deletions(-) diff --git a/plugins/woocommerce-admin/client/header/activity-panel/panels/orders.js b/plugins/woocommerce-admin/client/header/activity-panel/panels/orders.js index 40a8587613e..bde5aa72571 100644 --- a/plugins/woocommerce-admin/client/header/activity-panel/panels/orders.js +++ b/plugins/woocommerce-admin/client/header/activity-panel/panels/orders.js @@ -8,22 +8,12 @@ import { Component, Fragment } from '@wordpress/element'; import { compose } from '@wordpress/compose'; import Gridicon from 'gridicons'; import PropTypes from 'prop-types'; -import { noop } from 'lodash'; import interpolateComponents from 'interpolate-components'; /** * WooCommerce dependencies */ -import { - EllipsisMenu, - EmptyContent, - Flag, - Link, - MenuTitle, - MenuItem, - OrderStatus, - Section, -} from '@woocommerce/components'; +import { EmptyContent, Flag, Link, OrderStatus, Section } from '@woocommerce/components'; import { formatCurrency } from '@woocommerce/currency'; import { getAdminLink, getNewPath } from '@woocommerce/navigation'; @@ -226,18 +216,6 @@ class OrdersPanel extends Component { ); } - const menu = ( - ( - - Test - Test - - ) } - /> - ); - const title = isRequesting || orders.length ? __( 'Orders', 'woocommerce-admin' ) @@ -245,7 +223,7 @@ class OrdersPanel extends Component { return ( - +
{ isRequesting ? (