Skip to content

Commit

Permalink
Refactor code in LanguagesBreakdown.vue component
Browse files Browse the repository at this point in the history
  • Loading branch information
martedesco committed Apr 17, 2024
1 parent e3b0457 commit 81ff6b4
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/components/LanguagesBreakdown.vue
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,6 @@
};
},
setup() {
console.log('LanguagesBreakdown setup');
const metrics = ref<Metrics[]>([]);
Expand Down Expand Up @@ -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));
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 81ff6b4

Please sign in to comment.