🎨 Fix different typing problems

This commit is contained in:
Rune Harlyk
2025-10-14 20:01:20 +02:00
parent 0aab42f0e9
commit 8970457353
11 changed files with 37 additions and 46 deletions
+2 -2
View File
@@ -18,7 +18,7 @@
servoAngles,
servoAnglesOut,
socket,
location,
apiLocation,
useFeatureFlags,
walkGait
} from '$lib/stores'
@@ -34,7 +34,7 @@
const features = useFeatureFlags()
onMount(async () => {
const ws = $location ? $location : window.location.host
const ws = $apiLocation ? $apiLocation : window.location.host
socket.init(`ws://${ws}/api/ws`)
addEventListeners()