aboutsummaryrefslogtreecommitdiff
path: root/packages/anastasis-webui/src/pages/home/authMethod/AuthMethodSmsSolve.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'packages/anastasis-webui/src/pages/home/authMethod/AuthMethodSmsSolve.tsx')
-rw-r--r--packages/anastasis-webui/src/pages/home/authMethod/AuthMethodSmsSolve.tsx36
1 files changed, 17 insertions, 19 deletions
diff --git a/packages/anastasis-webui/src/pages/home/authMethod/AuthMethodSmsSolve.tsx b/packages/anastasis-webui/src/pages/home/authMethod/AuthMethodSmsSolve.tsx
index 041d9c124..a0b4297a6 100644
--- a/packages/anastasis-webui/src/pages/home/authMethod/AuthMethodSmsSolve.tsx
+++ b/packages/anastasis-webui/src/pages/home/authMethod/AuthMethodSmsSolve.tsx
@@ -1,17 +1,14 @@
-import {
- ChallengeFeedbackStatus,
- ChallengeInfo,
-} from "@gnu-taler/anastasis-core";
+import { ChallengeInfo } from "@gnu-taler/anastasis-core";
import { h, VNode } from "preact";
import { useState } from "preact/hooks";
-import { AsyncButton } from "../../../components/AsyncButton";
-import { TextInput } from "../../../components/fields/TextInput";
-import { useAnastasisContext } from "../../../context/anastasis";
-import { useTranslator } from "../../../i18n";
-import { AnastasisClientFrame } from "../index";
-import { SolveOverviewFeedbackDisplay } from "../SolveScreen";
-import { shouldHideConfirm } from "./helpers";
-import { AuthMethodSolveProps } from "./index";
+import { AsyncButton } from "../../../components/AsyncButton.js";
+import { TextInput } from "../../../components/fields/TextInput.js";
+import { useAnastasisContext } from "../../../context/anastasis.js";
+import { useTranslator } from "../../../i18n/index.js";
+import { AnastasisClientFrame } from "../index.js";
+import { SolveOverviewFeedbackDisplay } from "../SolveScreen.js";
+import { shouldHideConfirm } from "./helpers.js";
+import { AuthMethodSolveProps } from "./index.js";
export function AuthMethodSmsSolve({ id }: AuthMethodSolveProps): VNode {
const [answer, _setAnswer] = useState("A-");
@@ -115,15 +112,16 @@ export function AuthMethodSmsSolve({ id }: AuthMethodSolveProps): VNode {
<AnastasisClientFrame hideNav title="SMS Challenge">
<SolveOverviewFeedbackDisplay feedback={feedback} />
<p>
- An sms has been sent to "<b>{selectedChallenge.instructions}</b>". The
- message has and identification code and recovery code that starts with "
- <b>A-</b>". Wait the message to arrive and the enter the recovery code
- below.
+ An sms has been sent to &quot;<b>{selectedChallenge.instructions}</b>
+ &quot;. The message has and identification code and recovery code that
+ starts with &quot;
+ <b>A-</b>&quot;. Wait the message to arrive and the enter the recovery
+ code below.
</p>
{!expanded ? (
<p>
- The identification code in the SMS should start with "
- {selectedUuid.substring(0, 10)}"
+ The identification code in the SMS should start with &quot;
+ {selectedUuid.substring(0, 10)}&quot;
<span
class="icon has-tooltip-top"
data-tooltip="click to expand"
@@ -134,7 +132,7 @@ export function AuthMethodSmsSolve({ id }: AuthMethodSolveProps): VNode {
</p>
) : (
<p>
- The identification code in the SMS is "{selectedUuid}"
+ The identification code in the SMS is &quot;{selectedUuid}&quot;
<span
class="icon has-tooltip-top"
data-tooltip="click to show less code"