Skip to content

Commit 1c4269a

Browse files
committed
fix: update skeleton condition on package page
1 parent bf24ec7 commit 1c4269a

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

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

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -774,10 +774,7 @@ const showSkeleton = shallowRef(false)
774774
<!-- Scenario 1: SPA fallback — show skeleton (no real content to preserve) -->
775775
<!-- Scenario 2: SSR with missing payload — preserve server DOM, skip skeleton -->
776776
<PackageSkeleton
777-
v-if="
778-
isSpaFallback ||
779-
(!isHydratingWithServerContent && (showSkeleton || (status === 'pending' && !pkg)))
780-
"
777+
v-if="showSkeleton || isSpaFallback || (!hasEmptyPayload && status === 'pending')"
781778
/>
782779

783780
<!-- During hydration without payload, show captured server HTML as a static snapshot.

0 commit comments

Comments
 (0)