diff options
author | Sebastian <sebasjm@gmail.com> | 2021-11-12 14:50:09 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2021-11-12 14:50:09 -0300 |
commit | 50b9f2167cb4acfae2158bc3c7e1f7173064195d (patch) | |
tree | 2bda935bcadd3ab478f37643e306e529308fcca3 /packages/anastasis-webui/src/pages/home | |
parent | d6beefe6e0ccd2d37178404d50afe36faadcad50 (diff) | |
download | wallet-core-50b9f2167cb4acfae2158bc3c7e1f7173064195d.tar.xz |
fix #7075
Diffstat (limited to 'packages/anastasis-webui/src/pages/home')
6 files changed, 7 insertions, 7 deletions
diff --git a/packages/anastasis-webui/src/pages/home/SecretEditorScreen.tsx b/packages/anastasis-webui/src/pages/home/SecretEditorScreen.tsx index 3fe088c4f..6d4ffbf88 100644 --- a/packages/anastasis-webui/src/pages/home/SecretEditorScreen.tsx +++ b/packages/anastasis-webui/src/pages/home/SecretEditorScreen.tsx @@ -12,7 +12,7 @@ export function SecretEditorScreen(): VNode { const [secretFile, _setSecretFile] = useState<FileTypeContent | undefined>( undefined, ); - function setSecretFile(v) { + function setSecretFile(v: FileTypeContent | undefined): void { setSecretValue(""); // reset secret value when uploading a file _setSecretFile(v); } diff --git a/packages/anastasis-webui/src/pages/home/authMethod/AuthMethodEmailSolve.stories.tsx b/packages/anastasis-webui/src/pages/home/authMethod/AuthMethodEmailSolve.stories.tsx index 6a8a2a347..729fa8a1b 100644 --- a/packages/anastasis-webui/src/pages/home/authMethod/AuthMethodEmailSolve.stories.tsx +++ b/packages/anastasis-webui/src/pages/home/authMethod/AuthMethodEmailSolve.stories.tsx @@ -45,7 +45,7 @@ export const WithoutFeedback = createExample( challenges: [ { cost: "USD:1", - instructions: "does P equals NP?", + instructions: "Email to me@domain.com", type: "question", uuid: "uuid-1", }, @@ -67,7 +67,7 @@ export const PaymentFeedback = createExample( challenges: [ { cost: "USD:1", - instructions: "does P equals NP?", + instructions: "Email to me@domain.com", type: "question", uuid: "uuid-1", }, diff --git a/packages/anastasis-webui/src/pages/home/authMethod/AuthMethodEmailSolve.tsx b/packages/anastasis-webui/src/pages/home/authMethod/AuthMethodEmailSolve.tsx index 89017aa6f..e50c3bb20 100644 --- a/packages/anastasis-webui/src/pages/home/authMethod/AuthMethodEmailSolve.tsx +++ b/packages/anastasis-webui/src/pages/home/authMethod/AuthMethodEmailSolve.tsx @@ -9,7 +9,7 @@ import { SolveOverviewFeedbackDisplay } from "../SolveScreen"; import { AuthMethodSolveProps } from "./index"; export function AuthMethodEmailSolve({ id }: AuthMethodSolveProps): VNode { - const [answer, setAnswer] = useState(""); + const [answer, setAnswer] = useState("A-"); const [expanded, setExpanded] = useState(false); const reducer = useAnastasisContext(); diff --git a/packages/anastasis-webui/src/pages/home/authMethod/AuthMethodPostSolve.tsx b/packages/anastasis-webui/src/pages/home/authMethod/AuthMethodPostSolve.tsx index bc56b9f2c..1bbbbfc03 100644 --- a/packages/anastasis-webui/src/pages/home/authMethod/AuthMethodPostSolve.tsx +++ b/packages/anastasis-webui/src/pages/home/authMethod/AuthMethodPostSolve.tsx @@ -9,7 +9,7 @@ import { SolveOverviewFeedbackDisplay } from "../SolveScreen"; import { AuthMethodSolveProps } from "./index"; export function AuthMethodPostSolve({ id }: AuthMethodSolveProps): VNode { - const [answer, setAnswer] = useState(""); + const [answer, setAnswer] = useState("A-"); const reducer = useAnastasisContext(); if (!reducer) { diff --git a/packages/anastasis-webui/src/pages/home/authMethod/AuthMethodSmsSolve.stories.tsx b/packages/anastasis-webui/src/pages/home/authMethod/AuthMethodSmsSolve.stories.tsx index 3dc3adb2b..e8961cccf 100644 --- a/packages/anastasis-webui/src/pages/home/authMethod/AuthMethodSmsSolve.stories.tsx +++ b/packages/anastasis-webui/src/pages/home/authMethod/AuthMethodSmsSolve.stories.tsx @@ -45,7 +45,7 @@ export const WithoutFeedback = createExample( challenges: [ { cost: "USD:1", - instructions: "does P equals NP?", + instructions: "SMS to +54 11 2233 4455", type: "question", uuid: "uuid-1", }, diff --git a/packages/anastasis-webui/src/pages/home/authMethod/AuthMethodSmsSolve.tsx b/packages/anastasis-webui/src/pages/home/authMethod/AuthMethodSmsSolve.tsx index 218e8c858..3370c76d0 100644 --- a/packages/anastasis-webui/src/pages/home/authMethod/AuthMethodSmsSolve.tsx +++ b/packages/anastasis-webui/src/pages/home/authMethod/AuthMethodSmsSolve.tsx @@ -9,7 +9,7 @@ import { SolveOverviewFeedbackDisplay } from "../SolveScreen"; import { AuthMethodSolveProps } from "./index"; export function AuthMethodSmsSolve({ id }: AuthMethodSolveProps): VNode { - const [answer, setAnswer] = useState(""); + const [answer, setAnswer] = useState("A-"); const [expanded, setExpanded] = useState(false); const reducer = useAnastasisContext(); |