diff --git a/.env b/.env index ab2c418..60809ca 100644 --- a/.env +++ b/.env @@ -1,4 +1,4 @@ VITE_TOKEN_NAME = 'dsc_token' VITE_REFRESH_TOKEN_NAME = 'dsc_refresh_token' VITE_BASE_URL = 'https://api.danakcorp.com' -# VITE_BASE_URL = 'http://192.168.1.113:4000' \ No newline at end of file +# VITE_BASE_URL = 'http://192.168.1.119:4001' \ No newline at end of file diff --git a/src/pages/auth/components/LoginStep1.tsx b/src/pages/auth/components/LoginStep1.tsx index 62f11c3..d599430 100644 --- a/src/pages/auth/components/LoginStep1.tsx +++ b/src/pages/auth/components/LoginStep1.tsx @@ -7,8 +7,6 @@ import * as Yup from 'yup' import { useAuthStore } from '../store/AuthStore' import Error from '../../../components/Error' import Button from '../../../components/Button' -import { Link } from 'react-router-dom' -import { Pages } from '../../../config/Pages' import { isEmail } from '../../../config/func' import { useCheckHasAccount, useLoginWithOtp } from '../hooks/useAuthData' import { ErrorType } from '../../../helpers/types' @@ -94,16 +92,16 @@ const LoginStep1: FC = () => { isLoading={loginWithOtp.isPending || checkHasAccount.isPending} /> -
+ {/*

{t('auth.have_account')}

{t('auth.register')}
-
+
*/} - +
{t('auth.old_version')}