diff --git a/frontend/resources/templates/preview-body.mustache b/frontend/resources/templates/preview-body.mustache index fc2683716..216552e61 100644 --- a/frontend/resources/templates/preview-body.mustache +++ b/frontend/resources/templates/preview-body.mustache @@ -1,2 +1 @@ -{{>../public/images/sprites/symbol/icons.svg}} - +{{> ../public/images/sprites/symbol/icons.svg }} diff --git a/frontend/scripts/_helpers.js b/frontend/scripts/_helpers.js index 1dc4fb963..435531ca5 100644 --- a/frontend/scripts/_helpers.js +++ b/frontend/scripts/_helpers.js @@ -353,11 +353,13 @@ async function generateTemplates() { await fs.writeFile("./resources/public/index.html", content); - content = await renderTemplate("resources/templates/preview-body.mustache", { - manifest: manifest, - translations: JSON.stringify(translations), - }); - + content = await renderTemplate( + "resources/templates/preview-body.mustache", + { + manifest: manifest, + }, + partials, + ); await fs.writeFile("./.storybook/preview-body.html", content); content = await renderTemplate("resources/templates/render.mustache", {