Skip to content

Commit

Permalink
Merge pull request #6274 from Expensify/monil-fixLanguagePicker
Browse files Browse the repository at this point in the history
Followup "Fix language selector"
  • Loading branch information
marcaaron authored Nov 10, 2021
2 parents d217777 + c005f3c commit 5498334
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/LocalePicker.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ const LocalePicker = (props) => {

return (
<ExpensiPicker
label={props.size === 'normal' ? translate(props.preferredLocale, 'preferencesPage.language') : null}
label={props.size === 'normal' ? props.translate('preferencesPage.language') : null}
onChange={(locale) => {
if (locale === props.preferredLocale) {
return;
Expand Down

0 comments on commit 5498334

Please sign in to comment.