I had follow the saas doc step and run up the client and server, but when I access the web page by the url http://localhost:3000, I got error as below:
Server Error
TypeError: Cannot read property 'useState' of null
12 | try {
13 | ctx.renderPage = () =>
14 | originalRenderPage({
| ^
15 | enhanceApp: (App) => (props) => sheet.collectStyles(<App {...props} />)
16 | });
17 |
I can't figure it out and hoping for help, thanks.
I had follow the saas doc step and run up the client and server, but when I access the web page by the url http://localhost:3000, I got error as below: Server Error TypeError: Cannot read property 'useState' of null 12 | try { 13 | ctx.renderPage = () => 14 | originalRenderPage({ | ^ 15 | enhanceApp: (App) => (props) => sheet.collectStyles(<App {...props} />) 16 | }); 17 | I can't figure it out and hoping for help, thanks.