File tree Expand file tree Collapse file tree
app/pages/package/[[org]] Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -259,14 +259,13 @@ const nuxtApp = useNuxtApp()
259259const route = useRoute ()
260260const hasEmptyPayload =
261261 import .meta .client &&
262- nuxtApp .isHydrating &&
263262 nuxtApp .payload .serverRendered &&
264263 ! Object .keys (nuxtApp .payload .data ?? {}).length
265- const isSpaFallback = shallowRef (hasEmptyPayload && ! nuxtApp .payload .path )
266- const hasServerContentOnly = shallowRef (hasEmptyPayload && nuxtApp .payload .path === route .path )
264+ const isSpaFallback = shallowRef (nuxtApp .isHydrating && hasEmptyPayload && ! nuxtApp .payload .path )
267265const isHydratingWithServerContent = shallowRef (
268- hasEmptyPayload && nuxtApp .payload .path === route .path ,
266+ nuxtApp . isHydrating && hasEmptyPayload && nuxtApp .payload .path === route .path ,
269267)
268+ const hasServerContentOnly = shallowRef (hasEmptyPayload && nuxtApp .payload .path === route .path )
270269
271270watch (
272271 [
You can’t perform that action at this time.
0 commit comments