diff --git a/app/components/chat/Artifact.tsx b/app/components/chat/Artifact.tsx index c53d15b..989b92b 100644 --- a/app/components/chat/Artifact.tsx +++ b/app/components/chat/Artifact.tsx @@ -51,7 +51,10 @@ export const Artifact = memo(({ messageId }: ArtifactProps) => { if (actions.length !== 0 && artifact.type === 'bundled') { const finished = !actions.find((action) => action.status !== 'complete'); - setAllActionFinished(finished); + + if (finished != allActionFinished) { + setAllActionFinished(finished); + } } }, [actions]);