From 9e13a225e5c6e3f43d13e0a555127ec7dd0063ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Otgaar?= Date: Tue, 9 Dec 2025 13:44:17 +0100 Subject: [PATCH] chore: adjust single string line to fetch correct gestures --- src/pages/GesturePage/GesturePage.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/GesturePage/GesturePage.tsx b/src/pages/GesturePage/GesturePage.tsx index 76a0817..15697d5 100644 --- a/src/pages/GesturePage/GesturePage.tsx +++ b/src/pages/GesturePage/GesturePage.tsx @@ -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); }