chore: adjust single string line to fetch correct gestures
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user