Skip to content

Commit 71dfff5

Browse files
committed
fix: address review
1 parent 61c8d5d commit 71dfff5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/pages/package/[[org]]/[name].vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -495,7 +495,7 @@ const likeAction = async () => {
495495
}
496496
}
497497
498-
const dependencyCount = getDependencyCount(displayVersion.value)
498+
const dependencyCount = computed(() => getDependencyCount(displayVersion.value))
499499
500500
const numberFormatter = useNumberFormatter()
501501
const compactNumberFormatter = useCompactNumberFormatter()
@@ -918,7 +918,7 @@ onKeyStroke(
918918
</span>
919919

920920
<!-- Separator and install size -->
921-
<template v-if="displayVersion?.dist.unpackedSize !== installSize?.totalSize">
921+
<template v-if="displayVersion?.dist?.unpackedSize !== installSize?.totalSize">
922922
<span class="text-fg-subtle mx-1">/</span>
923923

924924
<span

0 commit comments

Comments
 (0)