diff --git a/pages/ResetPassword.tsx b/pages/ResetPassword.tsx index 12effba..70094fd 100644 --- a/pages/ResetPassword.tsx +++ b/pages/ResetPassword.tsx @@ -26,7 +26,7 @@ export const ResetPassword: React.FC = () => { setError(''); try { - await resetPassword(token, password); + await resetPassword(password, token); setIsSuccess(true); setTimeout(() => navigate('/login'), 3000); } catch (err: any) {