Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
thepiyush-303 committed Nov 11, 2024
1 parent a1fbbe9 commit 154dd47
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const PreferencesLocalizationSection = () => {
const mapOptions: SelectOption[] = languages.map(({ key, name }) => {
// Add a space to the name of the default language to bring it to the top
const displayName = key === '' && name === 'Default' ? ' Default' : name;
return[key, displayName];
return [key, displayName];
});
mapOptions.sort(([, a], [, b]) => a.localeCompare(b));
return mapOptions;
Expand Down

0 comments on commit 154dd47

Please sign in to comment.