Skip to content

Commit 6cc36f5

Browse files
wattanxdanielroe
authored andcommitted
fix: do not access .value from useRoute
1 parent aa89f52 commit 6cc36f5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

packages/bridge/src/runtime/capi.legacy.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,9 +155,9 @@ export const useContext = () => {
155155
return {
156156
...nuxt.nuxt2Context,
157157
route: computed(() => route),
158-
query: computed(() => route.value.query),
158+
query: computed(() => route.query),
159159
from: computed(() => nuxt.nuxt2Context.from),
160-
params: computed(() => route.value.params)
160+
params: computed(() => route.params)
161161
}
162162
}
163163

0 commit comments

Comments
 (0)