Skip to content

Commit

Permalink
chore: linting
Browse files Browse the repository at this point in the history
  • Loading branch information
magne4000 committed Jun 25, 2024
1 parent 69ac3cd commit b44e9a6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion vike-solid/renderer/onRenderHtml.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const onRenderHtml: OnRenderHtmlAsync = async (pageContext): ReturnType<OnRender
if (pageContext.Page) {
if (!pageContext.config.stream) {
pageView = dangerouslySkipEscape(renderToString(() => getPageElement(pageContext)));
} else if (pageContext.config.stream === 'web') {
} else if (pageContext.config.stream === "web") {
pageView = renderToStream(() => getPageElement(pageContext)).pipeTo;
stampPipe(pageView, "web-stream");
} else {
Expand Down
2 changes: 1 addition & 1 deletion vike-solid/types/Config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ declare global {
* https://vike.dev/stream
*
*/
stream?: boolean | 'web';
stream?: boolean | "web";
}
interface ConfigResolved {
Layout?: Array<Component>;
Expand Down

0 comments on commit b44e9a6

Please sign in to comment.