import { TranslatedString } from "@gnu-taler/taler-util"; import { notifyError, notifyInfo } from "@gnu-taler/web-util/browser"; import { VNode, h } from "preact"; import { UnwrapKeyError } from "../account.js"; import { createNewForm } from "../handlers/forms.js"; export function UnlockAccount({ onAccountUnlocked, onRemoveAccount, }: { onAccountUnlocked: (password: string) => void; onRemoveAccount: () => void; }): VNode { const Form = createNewForm<{ password: string; }>(); return (
Your account is normally locked anytime you reload. To unlock type your password again.