Skip to content

Commit

Permalink
FIX: Tooltip Text Fixed for Collapse/Expand Button in Prompt Card (#400)
Browse files Browse the repository at this point in the history
Fixed tooltip text
  • Loading branch information
tahierhussain authored Jun 10, 2024
1 parent 8c24686 commit cb33754
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ function ExpandCardBtn({ expandCard, setExpandCard }) {
useEffect(() => {
if (expandCard) {
setIcon(<FullscreenExitOutlined className="prompt-card-actions-head" />);
setTooltip("Expand");
setTooltip("Collapse");
} else {
setIcon(<FullscreenOutlined className="prompt-card-actions-head" />);
setTooltip("Collapse");
setTooltip("Expand");
}
}, [expandCard]);

Expand Down

0 comments on commit cb33754

Please sign in to comment.