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); }