Skip to content

Commit

Permalink
output the doctype default
Browse files Browse the repository at this point in the history
  • Loading branch information
iflamed committed Dec 28, 2024
1 parent ac83783 commit d94d460
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/renderer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ export function storeViewByName(name: string, item: React.FC<any>):void {
views.set(name, item)
}

export const renderer = reactRenderer(App, {})
export const renderer = reactRenderer(App, {
docType: true
})

export const viewRenderer = (name:string, view: ViewData) => {
const Comp = getViewByName(name)
Expand Down

0 comments on commit d94d460

Please sign in to comment.