Skip to content

Commit

Permalink
fix: Hide buttons in chat and workflow components
Browse files Browse the repository at this point in the history
  • Loading branch information
nadeesha committed Jan 10, 2025
1 parent 671c2cd commit e9eb831
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app/components/chat/human-message.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ export function HumanMessage({
<Button
size="sm"
variant="secondary"
className="h-7 bg-primary-foreground/10 hover:bg-primary-foreground/20 text-primary-foreground transition-colors duration-200"
className="h-7 bg-primary-foreground/10 hover:bg-primary-foreground/20 text-primary-foreground transition-colors duration-200 hidden"
onClick={() => setEditing(true)}
>
<PencilLineIcon className="h-3.5 w-3.5 mr-1" />
Expand All @@ -186,7 +186,7 @@ export function HumanMessage({
<Button
size="sm"
variant="secondary"
className="h-7 bg-primary-foreground/10 hover:bg-primary-foreground/20 text-primary-foreground"
className="h-7 bg-primary-foreground/10 hover:bg-primary-foreground/20 text-primary-foreground hidden"
onClick={retryMessage}
>
<RefreshCcw className="h-3.5 w-3.5 mr-1" />
Expand Down
2 changes: 1 addition & 1 deletion app/components/workflow.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -489,7 +489,7 @@ export function Run({ clusterId, runId }: { clusterId: string; runId: string })
<Button
size="sm"
variant="outline"
className="h-7 align-end ml-auto"
className="h-7 align-end ml-auto hidden"
onClick={async () => {
const loading = toast.loading("Retrying run...");

Expand Down

0 comments on commit e9eb831

Please sign in to comment.