Skip to content

Commit

Permalink
refactor: rename internal rendered hook
Browse files Browse the repository at this point in the history
  • Loading branch information
johannschopplich committed May 15, 2024
1 parent 3b7229e commit 2cd7e1f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions composables/page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ export function setPage<T extends Record<string, any>>(page: T) {

// Resolve components that depend on the full page data
const nuxtApp = useNuxtApp()
nuxtApp._nuxtPageDependenciesRendered = true
nuxtApp._pageDependenciesRendered = true
return nuxtApp.callHook('page-dependencies:rendered')
}

Expand All @@ -109,7 +109,7 @@ export async function hasPage() {
return resolver()
}

if (nuxtApp._nuxtPageDependenciesRendered) {
if (nuxtApp._pageDependenciesRendered) {
return resolver()
}

Expand Down

0 comments on commit 2cd7e1f

Please sign in to comment.