From 97ab6084bd8615623e87daa26aeb109d64ee0203 Mon Sep 17 00:00:00 2001 From: Romuald Brillout Date: Wed, 20 Nov 2024 15:38:58 +0100 Subject: [PATCH] minor refactor --- packages/vike-vue/src/integration/onRenderHtml.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/vike-vue/src/integration/onRenderHtml.ts b/packages/vike-vue/src/integration/onRenderHtml.ts index 216bd848..349d19c9 100644 --- a/packages/vike-vue/src/integration/onRenderHtml.ts +++ b/packages/vike-vue/src/integration/onRenderHtml.ts @@ -70,7 +70,7 @@ async function getPageHtml(pageContext: PageContextServer) { // - https://github.com/vikejs/vike-vue/issues/141 await callCumulativeHooks(pageContext.config.onBeforeRenderHtml, pageContext) - if (!!pageContext.Page) { + if (pageContext.Page) { assert(app) if (!pageContext.config.stream) {