diff options
Diffstat (limited to 'packages/merchant-backoffice-ui/src/paths/instance/tokenfamilies/update')
-rw-r--r-- | packages/merchant-backoffice-ui/src/paths/instance/tokenfamilies/update/UpdatePage.tsx | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/packages/merchant-backoffice-ui/src/paths/instance/tokenfamilies/update/UpdatePage.tsx b/packages/merchant-backoffice-ui/src/paths/instance/tokenfamilies/update/UpdatePage.tsx index 184e37b9c..5641d261b 100644 --- a/packages/merchant-backoffice-ui/src/paths/instance/tokenfamilies/update/UpdatePage.tsx +++ b/packages/merchant-backoffice-ui/src/paths/instance/tokenfamilies/update/UpdatePage.tsx @@ -1,6 +1,6 @@ /* This file is part of GNU Taler - (C) 2021-2023 Taler Systems S.A. + (C) 2021-2024 Taler Systems S.A. GNU Taler is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software @@ -19,18 +19,17 @@ * @author Christian Blättler */ +import { Duration, TalerMerchantApi } from "@gnu-taler/taler-util"; import { useTranslationContext } from "@gnu-taler/web-util/browser"; import { h } from "preact"; import { useState } from "preact/hooks"; import * as yup from "yup"; -import { MerchantBackend, WithId } from "../../../../declaration.js"; -import { TokenFamilyUpdateSchema } from "../../../../schemas/index.js"; +import { AsyncButton } from "../../../../components/exception/AsyncButton.js"; import { FormErrors, FormProvider } from "../../../../components/form/FormProvider.js"; import { Input } from "../../../../components/form/Input.js"; import { InputDate } from "../../../../components/form/InputDate.js"; import { InputDuration } from "../../../../components/form/InputDuration.js"; -import { AsyncButton } from "../../../../components/exception/AsyncButton.js"; -import { Duration, TalerMerchantApi } from "@gnu-taler/taler-util"; +import { TokenFamilyUpdateSchema } from "../../../../schemas/index.js"; type Entity = Omit<TalerMerchantApi.TokenFamilyUpdateRequest, "duration"> & { duration: Duration, |