diff --git a/frontend/src/components/workspace/artifacts/artifact-file-detail.tsx b/frontend/src/components/workspace/artifacts/artifact-file-detail.tsx index d67c0fed..3c207add 100644 --- a/frontend/src/components/workspace/artifacts/artifact-file-detail.tsx +++ b/frontend/src/components/workspace/artifacts/artifact-file-detail.tsx @@ -1276,7 +1276,7 @@ function ArtifactOfficePreview({ type="button" className={cn( "rounded px-4 py-3 text-xs whitespace-nowrap", - activeSheet === sheetNames[0] + activeSheet === sheetName ? "bg-[#1500331a] text-[#000000]" : "text-muted-foreground hover:text-foreground", )}