Fixed up IMU properly this time

This commit is contained in:
Niklas Jensen
2026-01-02 19:00:33 +01:00
committed by nikguin04
parent 58bf8a88a6
commit 13546d600c
5 changed files with 135 additions and 38 deletions
+1 -4
View File
@@ -50,10 +50,7 @@
console.log(data);
}
onMount(() => {
socket.on(IMUData, handleData)
return () => socket.off(IMUData, handleData)
return socket.on(IMUData, handleData)
})
</script>