Skip to content

Commit 44ab13f

Browse files
committed
fix App render
1 parent 301e587 commit 44ab13f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/RenderPanel.res

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
let wrapReactApp = code =>
22
`(function () {
33
${code}
4-
const appContainer$$ = () => App.make();
5-
window.reactRoot.render(appContainer$$());
4+
window.reactRoot.render(React.createElement(App.make, {}));
65
})();`
76

87
@react.component

0 commit comments

Comments
 (0)