Skip to content

Commit

Permalink
better hover handling
Browse files Browse the repository at this point in the history
  • Loading branch information
philipperolet committed Nov 27, 2024
1 parent ae4ceee commit 18e229a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion front/components/assistant/AssistantDetailsButtonBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,11 @@ export function AssistantDetailsButtonBar({
<div className="flex flex-row items-center gap-2 px-1.5">
<div className="group">
<Button
icon={agentConfiguration.userFavorite ? StarIcon : StarStrokeIcon}
icon={
agentConfiguration.userFavorite || isUpdatingFavorite
? StarIcon
: StarStrokeIcon
}
size="sm"
className="group-hover:hidden"
variant="outline"
Expand Down

0 comments on commit 18e229a

Please sign in to comment.