fix bundling

This commit is contained in:
Anirban Kar 2024-12-06 23:23:17 +05:30
parent 54ad5bdb17
commit b26e338b0b

View File

@ -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]);