saleor-dashboard/src/taxes/urls.ts
2019-08-09 12:26:22 +02:00

9 lines
292 B
TypeScript

import urlJoin from "url-join";
export const taxSection = "/taxes/";
export const countryListPath = taxSection;
export const countryListUrl = taxSection;
export const countryTaxRatesPath = (code: string) => urlJoin(taxSection, code);
export const countryTaxRatesUrl = countryTaxRatesPath;