0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2025-01-20 21:32:31 -05:00

fix(ui): fix typo

fix typo
This commit is contained in:
simeng-li 2022-10-14 11:25:51 +08:00
parent b85a4e4ada
commit 1eb9e6fdec
No known key found for this signature in database
GPG key ID: 14EA7BB1541E8075

View file

@ -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;