From a0b9bc971ee96cfd1378efbfbe4f2492b9594a42 Mon Sep 17 00:00:00 2001 From: vgeffer Date: Sat, 9 Dec 2023 15:39:17 +0100 Subject: [PATCH] feat(pass-reset): fixed type errors --- .../PageLayout/LoginFormWrapper/LoginFormWrapper.tsx | 2 +- .../PageLayout/PasswordReset/PasswordResetRequest.tsx | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/components/PageLayout/LoginFormWrapper/LoginFormWrapper.tsx b/src/components/PageLayout/LoginFormWrapper/LoginFormWrapper.tsx index da858fde..1a8145dd 100644 --- a/src/components/PageLayout/LoginFormWrapper/LoginFormWrapper.tsx +++ b/src/components/PageLayout/LoginFormWrapper/LoginFormWrapper.tsx @@ -1,7 +1,7 @@ import {useRouter} from 'next/router' import {FC, useState} from 'react' -import {Button} from '@/components/Clickable/Clickable' +import {Button} from '@/components/Clickable/Button' import {LoginForm} from '../LoginForm/LoginForm' import {PasswordResetRequestForm} from '../PasswordReset/PasswordResetRequest' diff --git a/src/components/PageLayout/PasswordReset/PasswordResetRequest.tsx b/src/components/PageLayout/PasswordReset/PasswordResetRequest.tsx index 129bbcde..4df7eee3 100644 --- a/src/components/PageLayout/PasswordReset/PasswordResetRequest.tsx +++ b/src/components/PageLayout/PasswordReset/PasswordResetRequest.tsx @@ -3,8 +3,7 @@ import axios from 'axios' import {FC} from 'react' import {SubmitHandler, useForm} from 'react-hook-form' -import {Button} from '@/components/Clickable/Clickable' -import styles from '@/components/FormItems/Form.module.scss' +import {Button} from '@/components/Clickable/Button' import {FormInput} from '@/components/FormItems/FormInput/FormInput' import {IGeneralPostResponse} from '@/types/api/general' @@ -40,7 +39,7 @@ export const PasswordResetRequestForm: FC = ({closeOverlay}) } return ( -
+