Skip to content

Commit a8ec0a0

Browse files
committed
fix: remove unused variable
1 parent 5b188de commit a8ec0a0

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

app/components/Package/DownloadAnalytics.vue

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -314,13 +314,6 @@ const effectivePackageNames = computed<string[]>(() => {
314314
return single ? [single] : []
315315
})
316316
317-
const xAxisLabel = computed(() => {
318-
if (!isMultiPackageMode.value) return props.packageName ?? ''
319-
const names = effectivePackageNames.value
320-
if (names.length === 1) return names[0]
321-
return 'packages'
322-
})
323-
324317
const selectedGranularity = shallowRef<ChartTimeGranularity>('weekly')
325318
const displayedGranularity = shallowRef<ChartTimeGranularity>('weekly')
326319

0 commit comments

Comments
 (0)