-
Notifications
You must be signed in to change notification settings - Fork 56
Description
- TypeError: Cannot read property 'length' of undefined
c
58 |
59 | export function createGlowGeometry(geometry, size) {
60 | // Gather vertexNormals from geometry.faces
61 | const glowGeometry = geometry.clone();
62 | const vertexNormals = new Array(glowGeometry.vertices.length);
63 | glowGeometry.faces.forEach((face) => {
64 | if (face instanceof Face3) {
2.) TypeError: Cannot read property 'updateCallbacks' of null
(anonymous function)
70 |
71 | // update callbacks
72 | useEffect(() => {
73 | const globe = globeRef.current;
| ^ 74 | globe.updateCallbacks({
75 | onClickMarker,
76 | onDefocus,
3.) TypeError: Cannot read property 'updateMarkers' of null
(anonymous function)
98 |
99 | // update markers
100 | useEffect(() => {
101 | const globe = globeRef.current;
| ^ 102 | globe.updateMarkers(markers);
103 | }, [markers]);
104 |
4.) TypeError: Cannot read property 'applyAnimations' of null
(anonymous function)
111 | // apply animations
112 | useEffect(() => {
113 | const globe = globeRef.current;
114 | return globe.applyAnimations(animations);
| ^ 115 | }, [animations]);
116 |
117 | return (
... and so on. I'll send them all if you need them.
the code is just the simpleGlobe version of your readme
Thanks for you help!