Skip to content

Commit

Permalink
perf(nuxt): remove ssrContext.styles reference (from unused `vue-st…
Browse files Browse the repository at this point in the history
…yle-loader`)
  • Loading branch information
danielroe committed May 9, 2024
1 parent d66d68c commit 2d1ab61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/nuxt/src/core/runtime/nitro/renderer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,7 @@ export default defineRenderHandler(async (event): Promise<Partial<RenderResponse
const htmlContext: NuxtRenderHTMLContext = {
island: isRenderingIsland,
htmlAttrs: htmlAttrs ? [htmlAttrs] : [],
head: normalizeChunks([headTags, ssrContext.styles]),
head: normalizeChunks([headTags]),
bodyAttrs: bodyAttrs ? [bodyAttrs] : [],
bodyPrepend: normalizeChunks([bodyTagsOpen, ssrContext.teleports?.body]),
body: [
Expand Down

0 comments on commit 2d1ab61

Please sign in to comment.