File tree 2 files changed +3
-3
lines changed
packages/authentication/modules/access/useChangeExpiredPassword
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ import { SubmitHandler, useForm } from 'react-hook-form'
6
6
7
7
import AuthApi from '../../../services/auth'
8
8
import { DEFAULT_INITIAL_VALUES , DEFAULT_VALIDATION_SCHEMA } from './constants'
9
- import { ChangeExpiredPasswordForm , IUseChangeExpiredPassword } from './types'
9
+ import { ChangeExpiredPasswordForm , UseChangeExpiredPassword } from './types'
10
10
11
11
const useChangeExpiredPassword = ( {
12
12
token,
@@ -15,7 +15,7 @@ const useChangeExpiredPassword = ({
15
15
ApiClass = AuthApi ,
16
16
enableFormApiErrors = true ,
17
17
options = { } ,
18
- } : IUseChangeExpiredPassword ) => {
18
+ } : UseChangeExpiredPassword ) => {
19
19
const form = useForm ( {
20
20
defaultValues,
21
21
resolver : zodResolver ( validationSchema ) ,
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ export type ChangeExpiredPasswordForm = {
11
11
confirmNewPassword : string
12
12
}
13
13
14
- export interface IUseChangeExpiredPassword {
14
+ export interface UseChangeExpiredPassword {
15
15
token : string
16
16
validationSchema ?: z . ZodObject < z . ZodRawShape > | z . ZodEffects < z . ZodObject < z . ZodRawShape > >
17
17
defaultValues ?: ChangeExpiredPasswordForm
You can’t perform that action at this time.
0 commit comments