(fix) redirect home was not correct
This commit is contained in:
@@ -155,7 +155,7 @@ export const updateUserSettings = withUser(async (user: AuthenticatedUser, prevS
|
||||
|
||||
// Get current locale and redirect to home with success message
|
||||
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
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user