chore: adjust single string line to fetch correct gestures

This commit is contained in:
Björn Otgaar
2025-12-09 13:44:17 +01:00
parent 7402b7d137
commit 9e13a225e5

View File

@@ -14,7 +14,7 @@ export default function GesturePage() {
const res = await fetch("http://localhost:8000/robot/get_available_gesture_tags");
if (!res.ok) throw new Error("Failed communicating with the backend.");
const jsonRes = await res.json();
setTags(jsonRes["tags"]);
setTags(jsonRes["available_gesture_tags"]);
} catch (err) {
console.error("Failed to fetch tags:", err);
}