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 81c3757 commit a0b9bc9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -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'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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'

Expand Down Expand Up @@ -40,7 +39,7 @@ export const PasswordResetRequestForm: FC<ILoginFormWrapper> = ({closeOverlay})
}

return (
<form className={styles.form} onSubmit={handleSubmit(onSubmit)}>
<form onSubmit={handleSubmit(onSubmit)}>
<FormInput
control={control}
name="email"
Expand Down

0 comments on commit a0b9bc9

Please sign in to comment.