diff options
Diffstat (limited to 'packages/merchant-backoffice-ui/src/components/form')
3 files changed, 4 insertions, 4 deletions
diff --git a/packages/merchant-backoffice-ui/src/components/form/InputPaytoForm.tsx b/packages/merchant-backoffice-ui/src/components/form/InputPaytoForm.tsx index 22d812971..c2aa9c3e9 100644 --- a/packages/merchant-backoffice-ui/src/components/form/InputPaytoForm.tsx +++ b/packages/merchant-backoffice-ui/src/components/form/InputPaytoForm.tsx @@ -20,7 +20,7 @@ */ import { h, VNode, Fragment } from "preact"; import { useCallback, useState } from "preact/hooks"; -import { Translate, Translator, useTranslator } from "../../i18n.js"; +import { Translate, Translator, useTranslator } from "../../i18n/index.js"; import { COUNTRY_TABLE } from "../../utils/constants.js"; import { FormErrors, FormProvider } from "./FormProvider.js"; import { Input } from "./Input.js"; diff --git a/packages/merchant-backoffice-ui/src/components/form/InputStock.tsx b/packages/merchant-backoffice-ui/src/components/form/InputStock.tsx index be578d12d..8e9b56f62 100644 --- a/packages/merchant-backoffice-ui/src/components/form/InputStock.tsx +++ b/packages/merchant-backoffice-ui/src/components/form/InputStock.tsx @@ -27,7 +27,7 @@ import { Input } from "./Input.js"; import { InputGroup } from "./InputGroup.js"; import { InputNumber } from "./InputNumber.js"; import { InputDate } from "./InputDate.js"; -import { Translate, useTranslator } from "../../i18n"; +import { Translate, useTranslator } from "../../i18n/index.js"; import { InputLocation } from "./InputLocation.js"; export interface Props<T> extends InputProps<T> { diff --git a/packages/merchant-backoffice-ui/src/components/form/InputTaxes.tsx b/packages/merchant-backoffice-ui/src/components/form/InputTaxes.tsx index 713003a0b..f7e983460 100644 --- a/packages/merchant-backoffice-ui/src/components/form/InputTaxes.tsx +++ b/packages/merchant-backoffice-ui/src/components/form/InputTaxes.tsx @@ -22,8 +22,8 @@ import { h, VNode } from "preact"; import { useCallback, useState } from "preact/hooks"; import * as yup from 'yup'; import { MerchantBackend } from "../../declaration.js"; -import { Translate, useTranslator } from "../../i18n"; -import { TaxSchema as schema } from "../../schemas.js"; +import { Translate, useTranslator } from "../../i18n/index.js"; +import { TaxSchema as schema } from "../../schemas/index.js"; import { FormErrors, FormProvider } from "./FormProvider.js"; import { Input } from "./Input.js"; import { InputGroup } from "./InputGroup.js"; |