linting
Browse files
app/components/chat/Artifact.tsx
CHANGED
|
@@ -51,7 +51,8 @@ export const Artifact = memo(({ messageId }: ArtifactProps) => {
|
|
| 51 |
|
| 52 |
if (actions.length !== 0 && artifact.type === 'bundled') {
|
| 53 |
const finished = !actions.find((action) => action.status !== 'complete');
|
| 54 |
-
|
|
|
|
| 55 |
setAllActionFinished(finished);
|
| 56 |
}
|
| 57 |
}
|
|
|
|
| 51 |
|
| 52 |
if (actions.length !== 0 && artifact.type === 'bundled') {
|
| 53 |
const finished = !actions.find((action) => action.status !== 'complete');
|
| 54 |
+
|
| 55 |
+
if (allActionFinished !== finished) {
|
| 56 |
setAllActionFinished(finished);
|
| 57 |
}
|
| 58 |
}
|