some bug fixes and add the ranking page
All checks were successful
Deploy Backend / deploy (push) Successful in 2m22s
Deploy Website / deploy (push) Successful in 4m8s

This commit is contained in:
Lee
2024-10-11 02:43:28 +01:00
parent f649fb9c7f
commit e35c1c77d3
13 changed files with 345 additions and 18 deletions

View File

@ -0,0 +1,11 @@
let regionNames = new Intl.DisplayNames(["en"], { type: "region" });
/**
* Returns the normalized region name
*
* @param region the region to normalize
* @returns the normalized region name
*/
export function normalizedRegionName(region: string) {
return regionNames.of(region);
}