summaryrefslogtreecommitdiff
path: root/packages/anastasis-webui/src/hooks
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2022-04-13 21:40:56 +0200
committerFlorian Dold <florian@dold.me>2022-04-13 23:46:34 +0200
commit4e1fe5eb10a5db44c86becbcef66daacc408239d (patch)
tree66c619c46a2228dc00ed78b200db6d1be395125b /packages/anastasis-webui/src/hooks
parentbd76b5d76f0e03d2d511b6cc0aae4636a2ec52c9 (diff)
downloadwallet-core-4e1fe5eb10a5db44c86becbcef66daacc408239d.tar.gz
wallet-core-4e1fe5eb10a5db44c86becbcef66daacc408239d.tar.bz2
wallet-core-4e1fe5eb10a5db44c86becbcef66daacc408239d.zip
anastasis-webui: updated challenge feedback
Diffstat (limited to 'packages/anastasis-webui/src/hooks')
-rw-r--r--packages/anastasis-webui/src/hooks/use-anastasis-reducer.ts20
1 files changed, 19 insertions, 1 deletions
diff --git a/packages/anastasis-webui/src/hooks/use-anastasis-reducer.ts b/packages/anastasis-webui/src/hooks/use-anastasis-reducer.ts
index 7274c3d03..434e5fb09 100644
--- a/packages/anastasis-webui/src/hooks/use-anastasis-reducer.ts
+++ b/packages/anastasis-webui/src/hooks/use-anastasis-reducer.ts
@@ -1,3 +1,22 @@
+/*
+ This file is part of GNU Anastasis
+ (C) 2021-2022 Anastasis SARL
+
+ GNU Anastasis is free software; you can redistribute it and/or modify it under the
+ terms of the GNU Affero General Public License as published by the Free Software
+ Foundation; either version 3, or (at your option) any later version.
+
+ GNU Anastasis is distributed in the hope that it will be useful, but WITHOUT ANY
+ WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
+ A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License along with
+ GNU Anastasis; see the file COPYING. If not, see <http://www.gnu.org/licenses/>
+ */
+
+/**
+ * Imports.
+ */
import { TalerErrorCode } from "@gnu-taler/taler-util";
import {
AggregatedPolicyMetaInfo,
@@ -7,7 +26,6 @@ import {
getBackupStartState,
getRecoveryStartState,
mergeDiscoveryAggregate,
- PolicyMetaInfo,
RecoveryStates,
reduceAction,
ReducerState,