Skip to content

Commit c54b8be

Browse files
committed
Rename IUseChangeExpiredPassword to UseChangeExpiredPassword
1 parent 0c3ab35 commit c54b8be

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

packages/authentication/modules/access/useChangeExpiredPassword/index.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { SubmitHandler, useForm } from 'react-hook-form'
66

77
import AuthApi from '../../../services/auth'
88
import { DEFAULT_INITIAL_VALUES, DEFAULT_VALIDATION_SCHEMA } from './constants'
9-
import { ChangeExpiredPasswordForm, IUseChangeExpiredPassword } from './types'
9+
import { ChangeExpiredPasswordForm, UseChangeExpiredPassword } from './types'
1010

1111
const useChangeExpiredPassword = ({
1212
token,
@@ -15,7 +15,7 @@ const useChangeExpiredPassword = ({
1515
ApiClass = AuthApi,
1616
enableFormApiErrors = true,
1717
options = {},
18-
}: IUseChangeExpiredPassword) => {
18+
}: UseChangeExpiredPassword) => {
1919
const form = useForm({
2020
defaultValues,
2121
resolver: zodResolver(validationSchema),

packages/authentication/modules/access/useChangeExpiredPassword/types.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export type ChangeExpiredPasswordForm = {
1111
confirmNewPassword: string
1212
}
1313

14-
export interface IUseChangeExpiredPassword {
14+
export interface UseChangeExpiredPassword {
1515
token: string
1616
validationSchema?: z.ZodObject<z.ZodRawShape> | z.ZodEffects<z.ZodObject<z.ZodRawShape>>
1717
defaultValues?: ChangeExpiredPasswordForm

0 commit comments

Comments
 (0)