diff --git a/packages/bridge/src/runtime/capi.legacy.mjs b/packages/bridge/src/runtime/capi.legacy.mjs index 6e0ca43ab5..e0c8e80d20 100644 --- a/packages/bridge/src/runtime/capi.legacy.mjs +++ b/packages/bridge/src/runtime/capi.legacy.mjs @@ -154,10 +154,10 @@ export const useContext = () => { const nuxt = useNuxtApp() return { - ...nuxt.nuxt2App.context, + ...nuxt.nuxt2Context, route: computed(() => route), query: computed(() => route.value.query), - from: computed(() => nuxt.nuxt2App.context.from), + from: computed(() => nuxt.nuxt2Context.from), params: computed(() => route.value.params) } }