I am getting a bunch of type error's that are nothing to do with code I wrote. My guess is that they are probably due to Props I passed in GoogleMapReact. How can I fix them?
The errors:
Cannot read properties of undefined (reading 'emit') at r.componentDidUpdate (google_map.js:428.
Cannot read properties of undefined (reading 'dispose') at r.componentWillUnmount (google_map.js:455:1).
Cannot read properties of undefined (reading 'removeListener') at n.componentWillUnmount (google_map_markers.js:88:1).
The above error occurred in the <o> component.
enter image description here when i comment this line code runs completely fine but his is the main part of the whole program.
Hi, I have the same problem
I wanted to ask how you fixed this problem?
thanks for the answer