Skip to content

Commit

Permalink
chore: ignore hooks type error in vue
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed Dec 20, 2022
1 parent 96c10ac commit 8c2f6be
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/runtime/components/ContentPreviewMode.vue
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ watch(() => apiReady.value, () => {
props.refresh()
.then(() => {
previewReady.value = true
// @ts-ignore
nuxtApp.callHook('nuxt-studio:preview:ready')
})
}
Expand All @@ -88,6 +89,7 @@ watch(() => props.storageReady.value, () => {
props.refresh()
.then(() => {
previewReady.value = true
// @ts-ignore
nuxtApp.callHook('nuxt-studio:preview:ready')
})
}
Expand Down

0 comments on commit 8c2f6be

Please sign in to comment.