Merge pull request #42 from ptb/patch-1
First argument to render should be a function
This commit is contained in:
+1
-1
@@ -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'));
|
||||
|
||||
Reference in New Issue
Block a user