Skip to content

Commit

Permalink
feat(pass-reset): fixed type errors
Browse files Browse the repository at this point in the history
  • Loading branch information
vgeffer committed Dec 9, 2023
1 parent ab0a3ed commit d00e860
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import {Button} from '@/components/Clickable/Button'
import {FormInput} from '@/components/FormItems/FormInput/FormInput'
import {IGeneralPostResponse} from '@/types/api/general'

import {ILoginFormWrapper} from '../LoginFormWrapper/LoginFormWrapper'
import {LoginFormWrapperProps} from '../LoginFormWrapper/LoginFormWrapper'

type PasswordResetRequestFormValues = {
email: string
Expand All @@ -17,7 +17,7 @@ const defaultValues: PasswordResetRequestFormValues = {
email: '',
}

export const PasswordResetRequestForm: FC<ILoginFormWrapper> = ({closeOverlay}) => {
export const PasswordResetRequestForm: FC<LoginFormWrapperProps> = ({closeOverlay}) => {
const {handleSubmit, control} = useForm<PasswordResetRequestFormValues>({defaultValues})

const requiredRule = {required: '* Toto pole nemôže byť prázdne.'}
Expand Down

0 comments on commit d00e860

Please sign in to comment.