Skip to content

Commit

Permalink
Fix toast messages
Browse files Browse the repository at this point in the history
  • Loading branch information
yonikid15 committed Apr 5, 2024
1 parent df87f6c commit 1d6d19d
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -146,10 +146,10 @@ const NotificationSettings = ({
const handleError = () => {
toast.error(
intl.formatMessage({
defaultMessage: "Error: could not update applicant settings",
id: "J1YiBm",
defaultMessage: "Error: could not update settings",
id: "EG5WpQ",
description:
"Message displayed when an error occurs while updating applicant settings.",
"Message displayed when an error occurs while updating notification settings.",
}),
);
};
Expand All @@ -163,10 +163,10 @@ const NotificationSettings = ({
if (result.data?.updateIgnoredNotifications) {
toast.success(
intl.formatMessage({
defaultMessage: "Updated applicant settings",
id: "zV8YQ1",
defaultMessage: "Successfully updated settings",
id: "ennrdC",
description:
"Message displayed when applicant updated their settings.",
"Message displayed when applicant updated their notification settings.",
}),
);
} else {
Expand Down

0 comments on commit 1d6d19d

Please sign in to comment.