You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-13 08:02:38 +03:00
Remove redundant API for getting country prefix
This commit is contained in:
@@ -73,10 +73,6 @@ export default class CountryDropdown extends React.Component {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
getCountryPrefix(iso2) {
|
|
||||||
return COUNTRIES_BY_ISO2[iso2].prefix;
|
|
||||||
}
|
|
||||||
|
|
||||||
render() {
|
render() {
|
||||||
const Dropdown = sdk.getComponent('elements.Dropdown');
|
const Dropdown = sdk.getComponent('elements.Dropdown');
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user