diff --git a/src/components/AuthenticationFlow/TriggerVerifyAccount.tsx b/src/components/AuthenticationFlow/TriggerVerifyAccount.tsx index 9d54e02ce..e46342a11 100644 --- a/src/components/AuthenticationFlow/TriggerVerifyAccount.tsx +++ b/src/components/AuthenticationFlow/TriggerVerifyAccount.tsx @@ -1,9 +1,9 @@ import { useEffect, useState } from 'react'; import Cookies from 'js-cookie'; import { httpPost } from '../../lib/http'; -import ErrorIcon from '../../icons/error.svg'; -import SpinnerIcon from '../../icons/spinner.svg'; import { TOKEN_COOKIE_NAME } from '../../lib/jwt'; +import { Spinner } from '../ReactIcons/Spinner'; +import { ErrorIcon2 } from '../ReactIcons/ErrorIcon2'; export function TriggerVerifyAccount() { const [isLoading, setIsLoading] = useState(true); @@ -16,7 +16,7 @@ export function TriggerVerifyAccount() { `${import.meta.env.PUBLIC_API_URL}/v1-verify-account`, { code, - } + }, ) .then(({ response, error }) => { if (!response?.token) { @@ -55,20 +55,8 @@ export function TriggerVerifyAccount() { return (