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