mirror of
https://github.com/ershisan99/flashcards-api.git
synced 2025-12-16 20:59:26 +00:00
remove console logs
This commit is contained in:
@@ -34,7 +34,6 @@ async function main() {
|
|||||||
|
|
||||||
const el = $('.topbar-wrapper')
|
const el = $('.topbar-wrapper')
|
||||||
|
|
||||||
console.log(el)
|
|
||||||
if (el) {
|
if (el) {
|
||||||
const form = el.getElementsByTagName('form')[0]
|
const form = el.getElementsByTagName('form')[0]
|
||||||
|
|
||||||
|
|||||||
@@ -26,7 +26,6 @@ export class GetRandomCardInDeckHandler implements ICommandHandler<GetRandomCard
|
|||||||
private async getSmartRandomCard(cards: Array<CardWithGrade>): Promise<CardWithGrade> {
|
private async getSmartRandomCard(cards: Array<CardWithGrade>): Promise<CardWithGrade> {
|
||||||
const selectionPool: Array<CardWithGrade> = []
|
const selectionPool: Array<CardWithGrade> = []
|
||||||
|
|
||||||
console.log(cards.length)
|
|
||||||
cards.forEach(card => {
|
cards.forEach(card => {
|
||||||
// Calculate the average grade for the card
|
// Calculate the average grade for the card
|
||||||
const averageGrade =
|
const averageGrade =
|
||||||
|
|||||||
Reference in New Issue
Block a user