diff options
Diffstat (limited to 'packages/anastasis-webui/src/pages/home/AuthMethodQuestionSetup.tsx')
-rw-r--r-- | packages/anastasis-webui/src/pages/home/AuthMethodQuestionSetup.tsx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/anastasis-webui/src/pages/home/AuthMethodQuestionSetup.tsx b/packages/anastasis-webui/src/pages/home/AuthMethodQuestionSetup.tsx index c2bd24ef9..f1bab94ab 100644 --- a/packages/anastasis-webui/src/pages/home/AuthMethodQuestionSetup.tsx +++ b/packages/anastasis-webui/src/pages/home/AuthMethodQuestionSetup.tsx @@ -7,7 +7,7 @@ import { h, VNode } from "preact"; import { useState } from "preact/hooks"; import { AuthMethodSetupProps } from "./AuthenticationEditorScreen"; import { AnastasisClientFrame } from "./index"; -import { LabeledInput } from "../../components/fields/LabeledInput"; +import { TextInput } from "../../components/fields/TextInput"; export function AuthMethodQuestionSetup(props: AuthMethodSetupProps): VNode { const [questionText, setQuestionText] = useState(""); @@ -29,13 +29,13 @@ export function AuthMethodQuestionSetup(props: AuthMethodSetupProps): VNode { here. </p> <div> - <LabeledInput + <TextInput label="Security question" grabFocus bind={[questionText, setQuestionText]} /> </div> <div> - <LabeledInput label="Answer" bind={[answerText, setAnswerText]} /> + <TextInput label="Answer" bind={[answerText, setAnswerText]} /> </div> <div> <button onClick={() => props.cancel()}>Cancel</button> |