Update index.jsx

According to https://www.solidjs.com/guides/rendering#entry
> The first argument needs to be a function. Otherwise we can't properly track and schedule the reactive system. This simple ommission will cause your Effects not to run.
This commit is contained in:
Peter T Bosse II
2022-03-07 19:51:25 -05:00
committed by GitHub
parent bec3c487cc
commit 7d4049c189
+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'));