7 lines
206 B
TypeScript
7 lines
206 B
TypeScript
|
/**
|
||
|
* TODO: Check user locale, then determines whether they should go to english route or indonesian route.
|
||
|
*/
|
||
|
|
||
|
const getLanguage = () => navigator?.languages[0] || navigator?.language || 'en';
|
||
|
|
||
|
export {}
|