diff --git a/src/frontend/src/components/home/ProjectListMap.tsx b/src/frontend/src/components/home/ProjectListMap.tsx index c9033eed68..81a5d7445c 100644 --- a/src/frontend/src/components/home/ProjectListMap.tsx +++ b/src/frontend/src/components/home/ProjectListMap.tsx @@ -200,7 +200,7 @@ const ProjectListMap = () => { referenceFrame: 'screen', }); sensor.addEventListener('reading', () => { - handleReading(sensor.quaternion); + layer.on('postrender', handleReading(sensor.quaternion)); }); // handleReading([0.509, -0.071, -0.19, 0.836]);