Skip to content

Commit 03ed3c3

Browse files
committed
chore: remove all changelog related code
1 parent 6f5c1b8 commit 03ed3c3

4 files changed

Lines changed: 151 additions & 248 deletions

File tree

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,9 @@ const { diff: sizeDiff } = useInstallSizeDiff(packageName, resolvedVersion, pkg,
207207
// → Preserve the server-rendered DOM, don't flash to skeleton.
208208
const nuxtApp = useNuxtApp()
209209
const route = useRoute()
210+
// Gates template rendering only — data fetches intentionally still run.
211+
// Skipping them here would cause a white screen when navigating back from the versions page,
212+
// because this component is not remounted on child route transitions.
210213
const isVersionsRoute = computed(() => route.name === 'package-versions')
211214
const hasEmptyPayload =
212215
import.meta.client &&

0 commit comments

Comments
 (0)