Merge pull request #42 from ptb/patch-1

First argument to render should be a function
This commit is contained in:
Ryan Carniato
2022-03-10 01:13:34 -08:00
committed by GitHub
+1 -1
View File
@@ -4,4 +4,4 @@ import { render } from 'solid-js/web';
import './index.css';
import App from './App';
render(App, document.getElementById('root'));
render(() => <App />, document.getElementById('root'));