diff --git a/src/frontend/src/components/chatComponent/index.tsx b/src/frontend/src/components/chatComponent/index.tsx index a8ad3fc7c..eee83a29c 100644 --- a/src/frontend/src/components/chatComponent/index.tsx +++ b/src/frontend/src/components/chatComponent/index.tsx @@ -32,17 +32,6 @@ export default function Chat({ flow }: ChatType): JSX.Element { }; }, [isBuilt]); - useEffect(() => { - // Define an async function within the useEffect hook - const fetchBuildStatus = async () => { - const response = await getBuildStatus(flow.id); - setIsBuilt(response.data.built); - }; - - // Call the async function - fetchBuildStatus(); - }, [flow]); - const prevNodesRef = useRef(); const nodes: NodeType[] = useNodes(); useEffect(() => {