aboutsummaryrefslogtreecommitdiff
path: root/packages/anastasis-webui/src/pages/home/AuthenticationEditorScreen.tsx
diff options
context:
space:
mode:
authorSebastian <sebasjm@gmail.com>2022-01-24 14:39:27 -0300
committerSebastian <sebasjm@gmail.com>2022-01-24 14:39:27 -0300
commit2f291847b08440c6da63351a0cfec482682170ae (patch)
tree9482799f9d4e5e002a0a54567fc3331a1081bf4f /packages/anastasis-webui/src/pages/home/AuthenticationEditorScreen.tsx
parent882d6b3710f82d85b2129f09c63f9db45985ef64 (diff)
downloadwallet-core-2f291847b08440c6da63351a0cfec482682170ae.tar.xz
fixing import to anastasis-core
Diffstat (limited to 'packages/anastasis-webui/src/pages/home/AuthenticationEditorScreen.tsx')
-rw-r--r--packages/anastasis-webui/src/pages/home/AuthenticationEditorScreen.tsx8
1 files changed, 5 insertions, 3 deletions
diff --git a/packages/anastasis-webui/src/pages/home/AuthenticationEditorScreen.tsx b/packages/anastasis-webui/src/pages/home/AuthenticationEditorScreen.tsx
index 91195971d..411efd569 100644
--- a/packages/anastasis-webui/src/pages/home/AuthenticationEditorScreen.tsx
+++ b/packages/anastasis-webui/src/pages/home/AuthenticationEditorScreen.tsx
@@ -1,4 +1,4 @@
-import { AuthMethod, ReducerStateBackup } from "anastasis-core";
+import { AuthMethod, ReducerStateBackup } from "@gnu-taler/anastasis-core";
import { ComponentChildren, Fragment, h, VNode } from "preact";
import { useState } from "preact/hooks";
import { useAnastasisContext } from "../../context/anastasis";
@@ -155,7 +155,10 @@ export function AuthenticationEditorScreen(): VNode {
</div>
);
}
- const errors = configuredAuthMethods.length < 2 ? "There is not enough authentication methods." : undefined;
+ const errors =
+ configuredAuthMethods.length < 2
+ ? "There is not enough authentication methods."
+ : undefined;
const handleNext = async () => {
const st = reducer.currentReducerState as ReducerStateBackup;
if ((st.authentication_methods ?? []).length <= 2) {
@@ -243,4 +246,3 @@ function AuthMethodNotImplemented(props: AuthMethodSetupProps): VNode {
</AnastasisClientFrame>
);
}
-