diff options
Diffstat (limited to 'packages/anastasis-webui/src/pages/home/AuthenticationEditorScreen.tsx')
-rw-r--r-- | packages/anastasis-webui/src/pages/home/AuthenticationEditorScreen.tsx | 8 |
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> ); } - |