These are exported packages, they can’t rely on any local files.
This commit is contained in:
Kelly Dwan 2018-11-27 13:46:22 -05:00 committed by Timmy Crawford
parent 5fe5dbe5cd
commit 8828345f86
1 changed files with 1 additions and 2 deletions

View File

@ -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 ) {