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 44fcf61 commit 3daf0fcCopy full SHA for 3daf0fc
packages/client/src/setupGlobalComputed.ts
@@ -50,10 +50,7 @@ export const setupGlobalComputed = (
50
const newPageChunk = { comp: oldPageChunk.comp, data: newPageData }
51
routes.value[newPageData.path].loader = () =>
52
Promise.resolve(newPageChunk)
53
- if (
54
- newPageData.path ===
55
- router.currentRoute.value.meta._pageChunk?.data.path
56
- ) {
+ if (newPageData.path === pageChunk.value.data.path) {
57
pageChunk.value = newPageChunk
58
}
59
0 commit comments