Skip to content

Commit 81ff6b4

Browse files
committed
Refactor code in LanguagesBreakdown.vue component
1 parent e3b0457 commit 81ff6b4

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

src/components/LanguagesBreakdown.vue

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,6 @@
118118
};
119119
},
120120
setup() {
121-
console.log('LanguagesBreakdown setup');
122121
123122
const metrics = ref<Metrics[]>([]);
124123
@@ -178,7 +177,6 @@
178177
yield* [...this.entries()].sort((a, b) => b[1].acceptanceRate - a[1].acceptanceRate);
179178
}
180179
181-
182180
// Get the top 5 languages by acceptance rate
183181
const top5LanguagesAcceptanceRate = new Map([...languages.value].slice(0, 5));
184182
@@ -223,14 +221,7 @@
223221
],
224222
};
225223
226-
227-
228224
numberOfLanguages.value = languages.value.size;
229-
230-
console.log("Number of languages: " + numberOfLanguages.value);
231-
232-
console.log("LanguagesChartData: " + JSON.stringify(languagesChartData));
233-
234225
235226
}).catch(error => {
236227
console.log(error);

0 commit comments

Comments
 (0)