Skip to content

Commit

Permalink
Sort country list
Browse files Browse the repository at this point in the history
  • Loading branch information
nomeguy committed Feb 25, 2023
1 parent 9acb3c4 commit 36c5a9d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions web/src/Setting.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ export const OtherProviderInfo = {
url: "https://www.huaweicloud.com/product/msgsms.html",
},
"Twilio SMS": {
logo: `${StaticBaseUrl}/img/social_twilio.png`,
logo: `${StaticBaseUrl}/img/social_twilio.svg`,
url: "https://www.twilio.com/messaging",
},
"SmsBao SMS": {
Expand Down Expand Up @@ -216,7 +216,8 @@ export function getCountriesData(countryCodes = phoneNumber.getCountries()) {
phone: phoneNumber.getCountryCallingCode(countryCode),
};
}
});
}).filter(item => item.name !== "")
.sort((a, b) => a.phone - b.phone);
}

export function countryFlag(country) {
Expand Down

0 comments on commit 36c5a9d

Please sign in to comment.