fix: minor
This commit is contained in:
@@ -32,7 +32,7 @@ export const Components: FC = (): ReactElement => {
|
|||||||
const m = Math.floor(seconds / 60);
|
const m = Math.floor(seconds / 60);
|
||||||
const s = seconds % 60;
|
const s = seconds % 60;
|
||||||
return `${m}:${s.toString().padStart(2, '0')}`;
|
return `${m}:${s.toString().padStart(2, '0')}`;
|
||||||
};
|
};
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className='flex flex-col justify-center items-center min-h-screen py-[60px] px-[80px]'>
|
<div className='flex flex-col justify-center items-center min-h-screen py-[60px] px-[80px]'>
|
||||||
@@ -51,7 +51,7 @@ export const Components: FC = (): ReactElement => {
|
|||||||
name={'otp'}
|
name={'otp'}
|
||||||
maxLength={6}
|
maxLength={6}
|
||||||
control={form.control}
|
control={form.control}
|
||||||
/>
|
/>
|
||||||
<Button type="button" className="mt-2" disabled={disabled} onClick={
|
<Button type="button" className="mt-2" disabled={disabled} onClick={
|
||||||
() => {
|
() => {
|
||||||
resendOTP({email: searchParams.get("email") || ""})
|
resendOTP({email: searchParams.get("email") || ""})
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ export const usePostLogin = (): UseMutationResult<
|
|||||||
mutationFn: async (payload) => await postLogin(payload),
|
mutationFn: async (payload) => await postLogin(payload),
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
export const usePostRegister = (): UseMutationResult<
|
export const usePostRegister = (): UseMutationResult<
|
||||||
TResponseMessage,
|
TResponseMessage,
|
||||||
TResponseError,
|
TResponseError,
|
||||||
|
|||||||
Reference in New Issue
Block a user