diff options
Diffstat (limited to 'packages/merchant-backoffice-ui/src/components/product')
4 files changed, 6 insertions, 6 deletions
diff --git a/packages/merchant-backoffice-ui/src/components/product/InventoryProductForm.tsx b/packages/merchant-backoffice-ui/src/components/product/InventoryProductForm.tsx index c4ec73061..30cb06c12 100644 --- a/packages/merchant-backoffice-ui/src/components/product/InventoryProductForm.tsx +++ b/packages/merchant-backoffice-ui/src/components/product/InventoryProductForm.tsx @@ -19,7 +19,7 @@ import { FormProvider, FormErrors } from "../form/FormProvider.js"; import { InputNumber } from "../form/InputNumber.js"; import { InputSearchProduct } from "../form/InputSearchProduct.js"; import { MerchantBackend, WithId } from "../../declaration.js"; -import { Translate, useTranslator } from "../../i18n"; +import { Translate, useTranslator } from "../../i18n/index.js"; import { ProductMap } from "../../paths/instance/orders/create/CreatePage.js"; type Form = { diff --git a/packages/merchant-backoffice-ui/src/components/product/NonInventoryProductForm.tsx b/packages/merchant-backoffice-ui/src/components/product/NonInventoryProductForm.tsx index 2deddb421..1a864d0b3 100644 --- a/packages/merchant-backoffice-ui/src/components/product/NonInventoryProductForm.tsx +++ b/packages/merchant-backoffice-ui/src/components/product/NonInventoryProductForm.tsx @@ -24,10 +24,10 @@ import { InputNumber } from "../form/InputNumber.js"; import { InputTaxes } from "../form/InputTaxes.js"; import { MerchantBackend } from "../../declaration.js"; import { useListener } from "../../hooks/listener.js"; -import { Translate, useTranslator } from "../../i18n"; +import { Translate, useTranslator } from "../../i18n/index.js"; import { NonInventoryProductSchema as schema -} from "../../schemas.js"; +} from "../../schemas/index.js"; type Entity = MerchantBackend.Product diff --git a/packages/merchant-backoffice-ui/src/components/product/ProductForm.tsx b/packages/merchant-backoffice-ui/src/components/product/ProductForm.tsx index 115174bf9..bf7489a94 100644 --- a/packages/merchant-backoffice-ui/src/components/product/ProductForm.tsx +++ b/packages/merchant-backoffice-ui/src/components/product/ProductForm.tsx @@ -24,11 +24,11 @@ import { useCallback, useEffect, useState } from "preact/hooks"; import * as yup from "yup"; import { useBackendContext } from "../../context/backend.js"; import { MerchantBackend } from "../../declaration.js"; -import { useTranslator } from "../../i18n"; +import { useTranslator } from "../../i18n/index.js"; import { ProductCreateSchema as createSchema, ProductUpdateSchema as updateSchema, -} from "../../schemas.js"; +} from "../../schemas/index.js"; import { FormProvider, FormErrors } from "../form/FormProvider.js"; import { Input } from "../form/Input.js"; import { InputCurrency } from "../form/InputCurrency.js"; diff --git a/packages/merchant-backoffice-ui/src/components/product/ProductList.tsx b/packages/merchant-backoffice-ui/src/components/product/ProductList.tsx index 037e90ff4..8b3d0fa20 100644 --- a/packages/merchant-backoffice-ui/src/components/product/ProductList.tsx +++ b/packages/merchant-backoffice-ui/src/components/product/ProductList.tsx @@ -17,7 +17,7 @@ import { Amounts } from "@gnu-taler/taler-util"; import { h, VNode } from "preact"; import emptyImage from "../../assets/empty.png"; import { MerchantBackend } from "../../declaration.js"; -import { Translate } from "../../i18n"; +import { Translate } from "../../i18n/index.js"; interface Props { list: MerchantBackend.Product[]; |