Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

fix(surveys): clean up hosted survey translations picker (#59908)

Lucas Faria00c48147b551
diff --git a/frontend/src/scenes/surveys/SurveyTranslations.tsx b/frontend/src/scenes/surveys/SurveyTranslations.tsx
index 931082fb4ef8..2dad4c71b757 100644
--- a/frontend/src/scenes/surveys/SurveyTranslations.tsx
+++ b/frontend/src/scenes/surveys/SurveyTranslations.tsx
@@ -70,7 +70,6 @@ export function SurveyTranslations(): JSX.Element {
}}
placeholder="Add a translation (e.g. 'fr', 'French', 'fr-CA')"
allowCustomValues
- autoFocus={validKeys.length === 0}
value={[]}
data-attr="survey-translation-add"
/>
@@ -105,7 +104,7 @@ export function SurveyTranslations(): JSX.Element {
type={editingLanguage === null ? 'primary' : 'secondary'}
onClick={() => selectLanguage(null)}
>
- {getSurveyLanguageName(baseLanguage)} <span className="text-muted ml-1">(original)</span>
+ {getSurveyLanguageName(baseLanguage)} (original)
</LemonButton>
{validKeys.map((lang) => {