Skip to content

Commit

Permalink
fix linting error
Browse files Browse the repository at this point in the history
  • Loading branch information
AdityaJ2305 committed Jan 3, 2025
1 parent 866e702 commit d2cfca6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/Users/UserResetPassword.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -83,10 +83,10 @@ export default function UserResetPassword({
});

if (res?.ok) {
Notification.Success({ msg: "Password Updated Successfully" });
Notification.Success({ msg: data?.message as string });
} else {
Notification.Error({
msg: t("password_update_error"),
msg: error?.message ?? t("password_update_error"),
});
}
setIsSubmitting(false);
Expand Down

0 comments on commit d2cfca6

Please sign in to comment.