diff --git a/src/components/createIdentifierCard.tsx b/src/components/createIdentifierCard.tsx index 4baf0f91..6e2874bb 100644 --- a/src/components/createIdentifierCard.tsx +++ b/src/components/createIdentifierCard.tsx @@ -1,6 +1,6 @@ -import { isValidElement, useState, useEffect } from "react"; +import { useState, useEffect } from "react"; import { useIntl } from "react-intl"; -import { Button } from "@components/ui"; +import { Button, Input } from "@components/ui"; import { hasWhiteSpace, removeWhiteSpace } from "@pages/background/utils"; interface ICreateIdentifierCard { @@ -35,7 +35,7 @@ export function CreateIdentifierCard( hasError = true; } else if (hasWhiteSpace(name)) { setNameError( -
+
{formatMessage({ id: "identifier.error.noWhiteSpace" })}{" "}
-

- {formatMessage({ id: "config.agentUrl.label" })} * -

- setAgentUrl(e.target.value)} onBlur={() => handleSetAgentUrl(agentUrl)} /> - {agentUrlError ?

{agentUrlError}

: null}

diff --git a/src/screens/signin/signin.tsx b/src/screens/signin/signin.tsx index 380558c8..f9792a3c 100644 --- a/src/screens/signin/signin.tsx +++ b/src/screens/signin/signin.tsx @@ -1,5 +1,5 @@ import { useState, useEffect } from "react"; -import { Button } from "@components/ui"; +import { Button, Input } from "@components/ui"; import { useIntl } from "react-intl"; interface ISignin { @@ -49,19 +49,15 @@ export function Signin(props: ISignin): JSX.Element { logo

- setPasscode(e.target.value)} onBlur={onBlurPasscode} /> - {passcodeError ?

{passcodeError}

: null}