mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-23 04:41:19 +00:00
Minor syntax fix.
This commit is contained in:
parent
25e61b276a
commit
c24a619594
1 changed files with 1 additions and 1 deletions
2
ui/src/utils.ts
vendored
2
ui/src/utils.ts
vendored
|
@ -350,7 +350,7 @@ export function debounce(
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
export function getLanguage(override: string): string {
|
export function getLanguage(override?: string): string {
|
||||||
let user = UserService.Instance.user;
|
let user = UserService.Instance.user;
|
||||||
let lang = override || (user && user.lang ? user.lang : 'browser');
|
let lang = override || (user && user.lang ? user.lang : 'browser');
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue