diff --git a/presenter/renderer/+onRenderHtml.ts b/presenter/renderer/+onRenderHtml.ts index 61809742e5..df946f053c 100644 --- a/presenter/renderer/+onRenderHtml.ts +++ b/presenter/renderer/+onRenderHtml.ts @@ -1,7 +1,6 @@ import { renderToString as renderToString_ } from '@vue/server-renderer' import { escapeInject, dangerouslySkipEscape } from 'vike/server' import { PageContext, PageContextServer } from 'vike/types' -// import { resolveComponent } from 'vue' import logoUrl from '#assets/favicon.ico' import image from '#assets/img/dreammall-logo_social.png' @@ -12,11 +11,6 @@ import { getDescription, getTitle } from './utils' import type { App } from 'vue' -// this fixes a warning which occurs when building -// > "resolveComponent" is imported from external module "vue" but never used in ... -// running this here fixes the warning and should not impact anything due to prerender setting. -// resolveComponent('nothing') - async function render(pageContext: PageContextServer & PageContext) { const { app, i18n } = createApp(pageContext, false)