Skip to content
This repository was archived by the owner on Dec 5, 2025. It is now read-only.

Commit cb51fa5

Browse files
committed
Merge branch 'svelte-hydration-order' of github.com:fastify/universify into svelte-hydration-order
2 parents cd84705 + 53cc69c commit cb51fa5

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

packages/fastify-dx-svelte/index.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,6 @@ export function createHtmlFunction (source, scope, config) {
5555
const soFooterTemplate = createHtmlTemplateFunction(soFooterSource)
5656
// This function gets registered as reply.html()
5757
return function ({ routes, context, app }) {
58-
// Initialize hydration, which can stay empty if context.serverOnly is true
59-
let hydration = ''
6058
// Decide which templating functions to use, with and without hydration
6159
const headTemplate = context.serverOnly ? soHeadTemplate : unHeadTemplate
6260
const footerTemplate = context.serverOnly ? soFooterTemplate : unFooterTemplate

0 commit comments

Comments
 (0)