🚨 Fixed deepsource issues
This commit is contained in:
@@ -37,8 +37,7 @@ export const getWinnersSorted = (
|
||||
if (q_res === null) {
|
||||
continue;
|
||||
}
|
||||
for (let j = 0; j < q_res.length; j++) {
|
||||
const res = q_res[j];
|
||||
for (const res of q_res) {
|
||||
if (res['right']) {
|
||||
if (winners[res['username']] === undefined) {
|
||||
winners[res['username']] = 0;
|
||||
|
||||
@@ -29,6 +29,7 @@ export class I18NextTranslationService implements TranslationService {
|
||||
// 2. Create a new set function that changes the i18n locale.
|
||||
// 3. Create a new update function that changes the i18n locale.
|
||||
// 4. Return modified writable.
|
||||
// skipcq: JS-0105
|
||||
private createLocale(i18n: I18nService) {
|
||||
const { subscribe, set, update } = writable<string>(i18n.i18n.language);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user