Skip to content

Commit c7be95b

Browse files
graphierosalexdln
andauthored
fix: use implicit return
Co-authored-by: Alex Savelyev <91429106+alexdln@users.noreply.github.com>
1 parent 294bb52 commit c7be95b

1 file changed

Lines changed: 5 additions & 7 deletions

File tree

app/components/Compare/FacetBarChart.vue

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -98,13 +98,11 @@ const dataset = computed<VueUiHorizontalBarDatasetItem[]>(() => {
9898
})
9999
100100
const skeletonDataset = computed(() =>
101-
props.packages.map((_pkg, i) => {
102-
return {
103-
name: '_',
104-
value: i + 1,
105-
color: colors.value.border,
106-
}
107-
}),
101+
props.packages.map((_pkg, i) => ({
102+
name: '_',
103+
value: i + 1,
104+
color: colors.value.border,
105+
})),
108106
)
109107
110108
function buildExportFilename(extension: string): string {

0 commit comments

Comments
 (0)