diff --git a/packages/anastasis-webui/src/context/translation.ts b/packages/anastasis-webui/src/context/translation.ts
index f724c6918..5ceb5d428 100644
--- a/packages/anastasis-webui/src/context/translation.ts
+++ b/packages/anastasis-webui/src/context/translation.ts
@@ -52,7 +52,7 @@ export const TranslationProvider = ({ initial, children, forceLang }: Props): VN
changeLanguage(forceLang)
}
})
- const handler = new jedLib.Jed(strings[lang]);
+ const handler = new jedLib.Jed(strings[lang] || strings['en']);
return h(Context.Provider, { value: { lang, handler, changeLanguage }, children });
}
diff --git a/packages/anastasis-webui/src/pages/home/AuthMethodPostSetup.tsx b/packages/anastasis-webui/src/pages/home/AuthMethodPostSetup.tsx
index b58a5f57d..55e37a968 100644
--- a/packages/anastasis-webui/src/pages/home/AuthMethodPostSetup.tsx
+++ b/packages/anastasis-webui/src/pages/home/AuthMethodPostSetup.tsx
@@ -33,7 +33,7 @@ export function AuthMethodPostSetup(props: AuthMethodSetupProps): VNode {
};
return (
-
{/* class={style.home} */}
+
Add {props.method} authentication
diff --git a/packages/anastasis-webui/src/pages/home/ReviewPoliciesScreen.tsx b/packages/anastasis-webui/src/pages/home/ReviewPoliciesScreen.tsx
index b898bb39e..3e20538d2 100644
--- a/packages/anastasis-webui/src/pages/home/ReviewPoliciesScreen.tsx
+++ b/packages/anastasis-webui/src/pages/home/ReviewPoliciesScreen.tsx
@@ -12,8 +12,7 @@ export function ReviewPoliciesScreen(props: BackupReducerProps): VNode {
.map((x, i) => authMethods[x.authentication_method].type)
.join(" + ");
return (
-
- {/*
*/}
+
Policy #{i + 1}: {policyName}
diff --git a/packages/anastasis-webui/src/pages/home/index.tsx b/packages/anastasis-webui/src/pages/home/index.tsx
index ab63553c1..6e9ea07fc 100644
--- a/packages/anastasis-webui/src/pages/home/index.tsx
+++ b/packages/anastasis-webui/src/pages/home/index.tsx
@@ -27,6 +27,7 @@ import { SecretSelectionScreen } from "./SecretSelectionScreen";
import { SolveScreen } from "./SolveScreen";
import { StartScreen } from "./StartScreen";
import { TruthsPayingScreen } from "./TruthsPayingScreen";
+import "./../home/style"
const WithReducer = createContext
(undefined);
@@ -89,7 +90,7 @@ export function AnastasisClientFrame(props: AnastasisClientFrameProps): VNode {
return (
- handleKeyPress(e)}> {/* class={style.home} */}
+
handleKeyPress(e)}>
{props.title}
@@ -234,7 +235,7 @@ function ErrorBanner(props: ErrorBannerProps): VNode | null {
const currentError = props.reducer.currentError;
if (currentError) {
return (
-
{/* style.error */}
+
Error: {JSON.stringify(currentError)}