Skip to content

Commit

Permalink
feat: remove language selection from registration
Browse files Browse the repository at this point in the history
  • Loading branch information
AmarTrebinjac committed Feb 6, 2025
1 parent a2936f5 commit c1f71ed
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
5 changes: 0 additions & 5 deletions packages/shared/src/components/auth/RegistrationForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ import ConditionalWrapper from '../ConditionalWrapper';
import AuthContainer from './AuthContainer';
import { onValidateHandles } from '../../hooks/useProfileForm';
import ExperienceLevelDropdown from '../profile/ExperienceLevelDropdown';
import { LanguageDropdown } from '../profile/LanguageDropdown';
import Alert, { AlertType } from '../widgets/Alert';
import { isDevelopment } from '../../lib/constants';

Expand Down Expand Up @@ -296,10 +295,6 @@ const RegistrationForm = ({
}
saveHintSpace
/>
<LanguageDropdown
className={{ container: 'w-full' }}
name="traits.language"
/>
<span className="border-b border-border-subtlest-tertiary pb-4 text-text-secondary typo-subhead">
Your email will be used to send you product and community updates
</span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ import ConditionalWrapper from '../ConditionalWrapper';
import type { SignBackProvider } from '../../hooks/auth/useSignBack';
import { useSignBack } from '../../hooks/auth/useSignBack';
import ExperienceLevelDropdown from '../profile/ExperienceLevelDropdown';
import { LanguageDropdown } from '../profile/LanguageDropdown';

export interface SocialRegistrationFormProps extends AuthFormProps {
className?: string;
Expand Down Expand Up @@ -258,7 +257,6 @@ export const SocialRegistrationForm = ({
hint={experienceLevelHint}
saveHintSpace
/>
<LanguageDropdown className={{ container: 'w-full' }} name="language" />
<span className="border-b border-border-subtlest-tertiary pb-4 text-text-secondary typo-subhead">
Your email will be used to send you product and community updates
</span>
Expand Down

0 comments on commit c1f71ed

Please sign in to comment.