From 11c9515e19744b2b21f56795b54aa0c187f71bd2 Mon Sep 17 00:00:00 2001 From: Lucas Oliveira Date: Mon, 4 Dec 2023 17:54:55 -0300 Subject: [PATCH] Fix response incorrect --- src/frontend/src/components/chatComponent/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontend/src/components/chatComponent/index.tsx b/src/frontend/src/components/chatComponent/index.tsx index 56a65dd35..97497cb5d 100644 --- a/src/frontend/src/components/chatComponent/index.tsx +++ b/src/frontend/src/components/chatComponent/index.tsx @@ -36,7 +36,7 @@ export default function Chat({ flow }: ChatType): JSX.Element { // Define an async function within the useEffect hook const fetchBuildStatus = async () => { const response = await getBuildStatus(flow.id); - setIsBuilt(response.built); + setIsBuilt(response.data.built); }; // Call the async function