From 56f1c68a26c3fb5df5a247c7c21c04b75cc1fa08 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dud=C3=A1s=20B=C3=A1lint?= Date: Mon, 2 Oct 2023 14:55:15 +0200 Subject: [PATCH] fixed "unused" import --- src/renderer/src/components/stringReplacer.components.tsx | 1 + src/renderer/src/service/auth.service.ts | 4 ---- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/src/renderer/src/components/stringReplacer.components.tsx b/src/renderer/src/components/stringReplacer.components.tsx index 5fdf7c5..344f8d6 100644 --- a/src/renderer/src/components/stringReplacer.components.tsx +++ b/src/renderer/src/components/stringReplacer.components.tsx @@ -7,6 +7,7 @@ export type internalizedChallenge = } +//Can be used for checking how many api challenges has no game variants paired. export const checkForMissingTranslations = (): string => { let number = 0; diff --git a/src/renderer/src/service/auth.service.ts b/src/renderer/src/service/auth.service.ts index 7bb7703..b405e2f 100644 --- a/src/renderer/src/service/auth.service.ts +++ b/src/renderer/src/service/auth.service.ts @@ -1,5 +1,4 @@ import { AuthModel } from '../model/auth.model' -import { checkForMissingTranslations } from '../components/stringReplacer.components' const AUTH_INFOS = 'PD3CV-AuthInfos' const NEBULA_ADDR = 'https://nebula.starbreeze.com' @@ -108,8 +107,5 @@ export const getUserChallenges = async () => { allChallengesData.push(...challengeData.data) } - //Check for missing translations (only checks for the game variant, since right now the api list should be filled with everything until new ones arrive) - //console.log("Replacing status: ",checkForMissingTranslations()); - return allChallengesData }