build(deps): add react-router-dom
Install react-router-dom to support client-side navigation. This is a prerequisite for implementing the multi-step authentication flow and other routed features. Additionally, this commit includes minor copy improvements to the password reset forms for better clarity.
This commit is contained in:
@@ -22,7 +22,7 @@ const ResetPasswordForm = ({ showLogin }) => {
|
||||
try {
|
||||
// Assuming you have a webhook for resetting the password
|
||||
await axios.post('https://api.karyamanswasta.my.id/webhook/forgot-password/adventure', { token, newPassword });
|
||||
setSuccess('Password has been sent successfully!');
|
||||
setSuccess('Password has been reset successfully!');
|
||||
setTimeout(() => {
|
||||
showLogin();
|
||||
}, 2000);
|
||||
|
||||
Reference in New Issue
Block a user