commit 41c18c44f14c92d33dfd8e1c1d66213053412b3b
parent cc575995e1914cbf7f0274f697c691594a8e5657
Author: Florian Dold <florian@dold.me>
Date: Thu, 27 Mar 2025 01:33:29 +0100
fix FTBFS
Diffstat:
1 file changed, 3 insertions(+), 7 deletions(-)
diff --git a/packages/aml-backoffice-ui/src/pages/decision/Events.tsx b/packages/aml-backoffice-ui/src/pages/decision/Events.tsx
@@ -1,12 +1,10 @@
import {
- AbsoluteTime,
AML_EVENTS_INFO,
AmlDecision,
AmlSpaDialect,
assertUnreachable,
GLS_AmlEventsName,
HttpStatusCode,
- LegitimizationRuleSet,
MeasureInformation,
TalerError,
TOPS_AmlEventsName,
@@ -18,20 +16,18 @@ import {
Loading,
onComponentUnload,
SelectUiChoice,
- UIFormElementConfig,
- UIHandlerId,
useExchangeApiContext,
useForm,
useTranslationContext,
} from "@gnu-taler/web-util/browser";
import { h, VNode } from "preact";
+import { ErrorLoadingWithDebug } from "../../components/ErrorLoadingWithDebug.js";
import {
DecisionRequest,
useCurrentDecisionRequest,
} from "../../hooks/decision-request.js";
-import { usePreferences } from "../../hooks/preferences.js";
import { useAccountActiveDecision } from "../../hooks/decisions.js";
-import { ErrorLoadingWithDebug } from "../../components/ErrorLoadingWithDebug.js";
+import { usePreferences } from "../../hooks/preferences.js";
/**
* Trigger additional events
@@ -104,7 +100,7 @@ export function Events({ account }: { account: string }): VNode {
return (
<div>
- <FormUI design={design} handler={form.handler} />
+ <FormUI design={design} model={form.model} />
</div>
);
}