Skip to content
This repository has been archived by the owner on Jan 8, 2024. It is now read-only.

Commit

Permalink
fixed "unused" import
Browse files Browse the repository at this point in the history
  • Loading branch information
Dudás Bálint committed Oct 2, 2023
1 parent 2f4673c commit 56f1c68
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
1 change: 1 addition & 0 deletions src/renderer/src/components/stringReplacer.components.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
4 changes: 0 additions & 4 deletions src/renderer/src/service/auth.service.ts
Original file line number Diff line number Diff line change
@@ -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'
Expand Down Expand Up @@ -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
}

0 comments on commit 56f1c68

Please sign in to comment.