From 8828345f866e143f3c93f94dc8319eb58e1f7938 Mon Sep 17 00:00:00 2001 From: Kelly Dwan Date: Tue, 27 Nov 2018 13:46:22 -0500 Subject: [PATCH] Remove import from local files (https://github.com/woocommerce/woocommerce-admin/pull/939) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit These are exported packages, they can’t rely on any local files. --- .../packages/components/src/search/autocompleters/taxes.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/plugins/woocommerce-admin/packages/components/src/search/autocompleters/taxes.js b/plugins/woocommerce-admin/packages/components/src/search/autocompleters/taxes.js index 29c788492e9..c15f73bdc56 100644 --- a/plugins/woocommerce-admin/packages/components/src/search/autocompleters/taxes.js +++ b/plugins/woocommerce-admin/packages/components/src/search/autocompleters/taxes.js @@ -13,7 +13,6 @@ import { stringifyQuery } from '@woocommerce/navigation'; * Internal dependencies */ import { computeSuggestionMatch } from './utils'; -import { NAMESPACE } from 'store/constants'; /** * A tax completer. @@ -33,7 +32,7 @@ export default { }; payload = stringifyQuery( query ); } - return apiFetch( { path: `${ NAMESPACE }taxes${ payload }` } ); + return apiFetch( { path: `/wc/v3/taxes${ payload }` } ); }, isDebounced: true, getOptionKeywords( tax ) {