From cfbc215001d9c403110cdf70170df126cf6c9122 Mon Sep 17 00:00:00 2001 From: KevIsDev Date: Mon, 28 Apr 2025 14:29:06 +0100 Subject: [PATCH] fix(chat): update artifact ID check for restored project setup The artifact ID check was updated from 'imported-files' to 'restored-project-setup' to correctly identify the restored project setup action. This ensures the UI displays the appropriate message based on the artifact's state. --- app/components/chat/Artifact.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/components/chat/Artifact.tsx b/app/components/chat/Artifact.tsx index 75cf6e26..537a6a63 100644 --- a/app/components/chat/Artifact.tsx +++ b/app/components/chat/Artifact.tsx @@ -111,7 +111,7 @@ export const Artifact = memo(({ messageId }: ArtifactProps) => {
{allActionFinished - ? artifact.id === 'imported-files' + ? artifact.id === 'restored-project-setup' ? 'Restore files from snapshot' : 'Initial files created' : 'Creating initial files'}