(fix) redirect home was not correct

This commit is contained in:
Knee Cola
2025-11-18 22:59:43 +01:00
parent bfa9afdb45
commit 1c25917093

View File

@@ -155,7 +155,7 @@ export const updateUserSettings = withUser(async (user: AuthenticatedUser, prevS
// Get current locale and redirect to home with success message // Get current locale and redirect to home with success message
const locale = await getLocale(); const locale = await getLocale();
await gotoHomeWithMessage(locale, 'user-settings-saved-message'); await gotoHomeWithMessage(locale, 'userSettingsSaved');
// This return is needed for TypeScript, but won't be reached due to redirect // This return is needed for TypeScript, but won't be reached due to redirect
return { return {