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