We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c645d1a commit bb96427Copy full SHA for bb96427
packages/client/src/setupGlobalComputed.ts
@@ -50,7 +50,10 @@ export const setupGlobalComputed = (
50
const newPageChunk = { comp: oldPageChunk.comp, data: newPageData }
51
routes.value[newPageData.path].loader = () =>
52
Promise.resolve(newPageChunk)
53
- if (newPageData.path === pageChunk.value.data.path) {
+ if (
54
+ newPageData.path ===
55
+ router.currentRoute.value.meta._pageChunk?.data.path
56
+ ) {
57
pageChunk.value = newPageChunk
58
}
59
0 commit comments