Skip to content

Commit

Permalink
Change to const pageSets
Browse files Browse the repository at this point in the history
  • Loading branch information
jwartofsky-yext committed Jul 25, 2024
1 parent bb7edca commit 22fe70e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/pages/src/common/src/template/hydration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ export const getIndexTemplateDev = (
);
commonIndex = injectIntoEndOfHead(
commonIndex,
`<script id="templatesJsonDev">${JSON.stringify(templatesConfig, null)}</script>`
`<script>const pageSets = ${JSON.stringify(templatesConfig, null)}</script>`
);

return commonIndex;
Expand Down

0 comments on commit 22fe70e

Please sign in to comment.