diff --git a/src/common/components/inviteUsers/campaignSettings.tsx b/src/common/components/inviteUsers/campaignSettings.tsx index 07e0bd0b9..bfaccdd4f 100644 --- a/src/common/components/inviteUsers/campaignSettings.tsx +++ b/src/common/components/inviteUsers/campaignSettings.tsx @@ -109,7 +109,6 @@ export const CampaignSettings = () => { body: { email: values.email, redirect_url: campaignRoute, - locale: i18n.language, ...(values.message && { message: values.message }), }, }) diff --git a/src/common/components/inviteUsers/projectSettings.tsx b/src/common/components/inviteUsers/projectSettings.tsx index 8ce810e46..21451c25c 100644 --- a/src/common/components/inviteUsers/projectSettings.tsx +++ b/src/common/components/inviteUsers/projectSettings.tsx @@ -84,7 +84,6 @@ export const ProjectSettings = () => { body: { email: values.email, redirect_url: projectRoute, - locale: i18n.language, ...(values.message && { message: values.message }), }, }) diff --git a/src/common/components/inviteUsers/workspaceSettings.tsx b/src/common/components/inviteUsers/workspaceSettings.tsx index 8fa74c1d1..ac4511112 100644 --- a/src/common/components/inviteUsers/workspaceSettings.tsx +++ b/src/common/components/inviteUsers/workspaceSettings.tsx @@ -21,7 +21,6 @@ import { usePostWorkspacesByWidUsersMutation, } from 'src/features/api'; import { useActiveWorkspace } from 'src/hooks/useActiveWorkspace'; -import i18n from 'src/i18n'; import { AddNewMemberInput } from './addNewMember'; import { PermissionSettingsFooter } from './modalFooter'; import { @@ -61,7 +60,6 @@ export const WorkspaceSettings = () => { wid: activeWorkspace?.id.toString() || '', body: { email: values.email, - locale: i18n.language, ...(values.message && { message: values.message }), }, })