mirror of
https://github.com/stackblitz-labs/bolt.diy
synced 2025-01-22 19:06:12 +00:00
fix bundling
This commit is contained in:
parent
54ad5bdb17
commit
b26e338b0b
@ -51,7 +51,9 @@ export const Artifact = memo(({ messageId }: ArtifactProps) => {
|
||||
|
||||
if (actions.length !== 0 && artifact.type === 'bundled') {
|
||||
const finished = !actions.find((action) => action.status !== 'complete');
|
||||
setAllActionFinished(finished);
|
||||
if(allActionFinished!==finished){
|
||||
setAllActionFinished(finished);
|
||||
}
|
||||
}
|
||||
}, [actions]);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user