Fix response incorrect
This commit is contained in:
parent
a26726a99d
commit
11c9515e19
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue