commit 657784c93318232ac509a426bf055eed9be81884
parent 09369587931379bfb982defa93551ff022b83cc9
Author: Florian Dold <florian@dold.me>
Date: Mon, 21 Jul 2025 13:46:33 +0200
dce
Diffstat:
1 file changed, 0 insertions(+), 8 deletions(-)
diff --git a/packages/web-util/src/forms/gana/accept-tos.ts b/packages/web-util/src/forms/gana/accept-tos.ts
@@ -21,15 +21,8 @@ import {
import type {
InternationalizationAPI,
SingleColumnFormDesign,
- UIFormElementConfig,
} from "@gnu-taler/web-util/browser";
-const TALER_SCREEN_ID = 107;
-
-function filterUndefined<T>(ar: Array<T | undefined>): Array<T> {
- return ar.filter((a): a is T => !!a);
-}
-
export type AcceptTermOfServiceContext = {
tos_url: string;
provider_name?: string;
@@ -63,7 +56,6 @@ export const acceptTos = (
id: TalerFormAttributes.DOWNLOADED_TERMS_OF_SERVICE,
required: true,
url: context.tos_url,
- //label: context.provider_name ?? context.tos_url,
label: i18n.str`View in Browser`,
},
{