Skip to content
This repository has been archived by the owner on Nov 23, 2023. It is now read-only.

Commit

Permalink
Merge branch 'main' of github.com:fastify/universify into react-tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
galvez committed Jun 30, 2022
2 parents a21dc2b + 1f058e7 commit 533aee0
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions packages/fastify-dx-svelte/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/fastify-dx-svelte/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion starters/svelte/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 533aee0

Please sign in to comment.