diff --git a/packages/fastify-dx-svelte/index.js b/packages/fastify-dx-svelte/index.js index 0ab519f..9e7da1d 100644 --- a/packages/fastify-dx-svelte/index.js +++ b/packages/fastify-dx-svelte/index.js @@ -55,8 +55,6 @@ export function createHtmlFunction (source, scope, config) { const soFooterTemplate = createHtmlTemplateFunction(soFooterSource) // This function gets registered as reply.html() return function ({ routes, context, app }) { - // Initialize hydration, which can stay empty if context.serverOnly is true - let hydration = '' // Decide which templating functions to use, with and without hydration const headTemplate = context.serverOnly ? soHeadTemplate : unHeadTemplate const footerTemplate = context.serverOnly ? soFooterTemplate : unFooterTemplate diff --git a/packages/fastify-dx-svelte/package.json b/packages/fastify-dx-svelte/package.json index 1deb679..a2b164b 100644 --- a/packages/fastify-dx-svelte/package.json +++ b/packages/fastify-dx-svelte/package.json @@ -5,7 +5,7 @@ "type": "module", "main": "index.js", "name": "fastify-dx-svelte", - "version": "0.0.2", + "version": "0.0.3", "files": [ "virtual/root.svelte", "virtual/route.svelte", diff --git a/starters/svelte/package.json b/starters/svelte/package.json index 48d5f1f..d8bb998 100644 --- a/starters/svelte/package.json +++ b/starters/svelte/package.json @@ -10,7 +10,7 @@ "lint": "eslint . --ext .js,.svelte --fix" }, "dependencies": { - "fastify-dx-svelte": "^0.0.2", + "fastify-dx-svelte": "^0.0.3", "fastify-vite": "^3.0.0-beta.23", "ky-universal": "^0.10.1", "ky": "^0.31.0"