From 81ff6b48ff6d12a244480fa22261d06aedf96c18 Mon Sep 17 00:00:00 2001 From: Marcio Tedesco Date: Thu, 18 Apr 2024 07:39:53 +0800 Subject: [PATCH] Refactor code in LanguagesBreakdown.vue component --- src/components/LanguagesBreakdown.vue | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/components/LanguagesBreakdown.vue b/src/components/LanguagesBreakdown.vue index 464c78e7..bd1223c2 100644 --- a/src/components/LanguagesBreakdown.vue +++ b/src/components/LanguagesBreakdown.vue @@ -118,7 +118,6 @@ }; }, setup() { - console.log('LanguagesBreakdown setup'); const metrics = ref([]); @@ -178,7 +177,6 @@ yield* [...this.entries()].sort((a, b) => b[1].acceptanceRate - a[1].acceptanceRate); } - // Get the top 5 languages by acceptance rate const top5LanguagesAcceptanceRate = new Map([...languages.value].slice(0, 5)); @@ -223,14 +221,7 @@ ], }; - - numberOfLanguages.value = languages.value.size; - - console.log("Number of languages: " + numberOfLanguages.value); - - console.log("LanguagesChartData: " + JSON.stringify(languagesChartData)); - }).catch(error => { console.log(error);