diff options
Diffstat (limited to 'packages/merchant-backoffice-ui/src/components/form/InputTaxes.tsx')
-rw-r--r-- | packages/merchant-backoffice-ui/src/components/form/InputTaxes.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/merchant-backoffice-ui/src/components/form/InputTaxes.tsx b/packages/merchant-backoffice-ui/src/components/form/InputTaxes.tsx index 984b496e7..4392c7659 100644 --- a/packages/merchant-backoffice-ui/src/components/form/InputTaxes.tsx +++ b/packages/merchant-backoffice-ui/src/components/form/InputTaxes.tsx @@ -22,18 +22,18 @@ import { useTranslationContext } from "@gnu-taler/web-util/browser"; import { h, VNode } from "preact"; import { useCallback, useState } from "preact/hooks"; import * as yup from "yup"; -import { MerchantBackend } from "../../declaration.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"; import { InputProps, useField } from "./useField.js"; +import { TalerMerchantApi } from "@gnu-taler/taler-util"; export interface Props<T> extends InputProps<T> { isValid?: (e: any) => boolean; } -type Entity = MerchantBackend.Tax; +type Entity = TalerMerchantApi.Tax; export function InputTaxes<T>({ name, readonly, |