Refactor: renamed AccountForm to UserSettingsForm and update related actions and translations

This commit is contained in:
Knee Cola
2025-11-18 12:52:43 +01:00
parent b03f0574cd
commit be5d5074fe
8 changed files with 282 additions and 52 deletions

View File

@@ -52,9 +52,9 @@ export const MonthLocationList:React.FC<MonthLocationListProps > = ({
const params = new URLSearchParams(search.toString());
let messageShown = false;
if (search.get('profileSaved') === 'true') {
toast.success(t("profile-saved-message"), { theme: "dark" });
params.delete('profileSaved');
if (search.get('userSettingsSaved') === 'true') {
toast.success(t("user-settings-saved-message"), { theme: "dark" });
params.delete('userSettingsSaved');
messageShown = true;
}