Can't get this to work with React v18. Page just spits this:
ERROR
Cannot read properties of undefined (reading 'props')
TypeError: Cannot read properties of undefined (reading 'props')
at e.value (http://localhost:3000/static/js/bundle.js:17275:37)
at finishClassComponent (http://localhost:3000/static/js/bundle.js:36183:35)
at updateClassComponent (http://localhost:3000/static/js/bundle.js:36140:28)
at beginWork (http://localhost:3000/static/js/bundle.js:37766:20)
at HTMLUnknownElement.callCallback (http://localhost:3000/static/js/bundle.js:22757:18)
at Object.invokeGuardedCallbackDev (http://localhost:3000/static/js/bundle.js:22801:20)
at invokeGuardedCallback (http://localhost:3000/static/js/bundle.js:22858:35)
at beginWork$1 (http://localhost:3000/static/js/bundle.js:42732:11)
at performUnitOfWork (http://localhost:3000/static/js/bundle.js:41979:16)
at workLoopSync (http://localhost:3000/static/js/bundle.js:41902:9)
Can't get this to work with React v18. Page just spits this: