Skip to content

Commit

Permalink
fix(types): add back expect error
Browse files Browse the repository at this point in the history
  • Loading branch information
larbish committed Jun 27, 2024
1 parent bbb1190 commit fbca547
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/runtime/components/ContentPreviewMode.vue
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ const sync = async (data: PreviewResponse) => {
// Remove query params in url to refresh page (in case of 404 with no SPA fallback)
await router.replace({ query: {} })
// @ts-expect-error custom hook => keep this for typecheck in project using the module
nuxtApp.callHook('nuxt-studio:preview:ready')
if (window.parent && window.self !== window.parent) {
Expand Down

0 comments on commit fbca547

Please sign in to comment.