LanguageDropdown: remove unused function (#30346)

Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
Marcin Mikołajczak 2024-06-13 21:46:45 +02:00 committed by GitHub
parent 179f7b11ba
commit a243963e93
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 12 deletions

View File

@ -110,18 +110,6 @@ class LanguageDropdownMenu extends PureComponent {
}).map(result => result.obj);
}
frequentlyUsed () {
const { languages, value } = this.props;
const current = languages.find(lang => lang[0] === value);
const results = [];
if (current) {
results.push(current);
}
return results;
}
handleClick = e => {
const value = e.currentTarget.getAttribute('data-index');