mirror of
https://github.com/logto-io/logto.git
synced 2024-12-16 20:26:19 -05:00
fix(ui): fix typo
fix typo
This commit is contained in:
parent
b85a4e4ada
commit
1eb9e6fdec
1 changed files with 2 additions and 2 deletions
|
@ -33,11 +33,11 @@ const getPasscodeValidationErrorHandlersByFlowAndMethod = (flow: UserFlow, metho
|
|||
return useForgotPasswordWithSmsErrorHandler;
|
||||
};
|
||||
|
||||
const usePassCodeValidationErrorHandler = (type: UserFlow, method: Method, target: string) => {
|
||||
const usePasscodeValidationErrorHandler = (type: UserFlow, method: Method, target: string) => {
|
||||
const useFlowErrorHandler = getPasscodeValidationErrorHandlersByFlowAndMethod(type, method);
|
||||
const { errorHandler } = useFlowErrorHandler(target);
|
||||
|
||||
return { errorHandler };
|
||||
};
|
||||
|
||||
export default usePassCodeValidationErrorHandler;
|
||||
export default usePasscodeValidationErrorHandler;
|
||||
|
|
Loading…
Reference in a new issue