Remove import from local files (https://github.com/woocommerce/woocommerce-admin/pull/939)
These are exported packages, they can’t rely on any local files.
This commit is contained in:
parent
5fe5dbe5cd
commit
8828345f86
|
@ -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 ) {
|
||||
|
|
Loading…
Reference in New Issue