mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-09-07 08:26:51 +00:00
fix: correct logical operator in export button className
- Change OR (||) to AND (&&) operator for conditional opacity classes - Fixes issue where string operand would always be truthy - Addresses additional Copilot review feedback
This commit is contained in:
parent
02dc1afb28
commit
63fcac7aeb
1 changed files with 1 additions and 1 deletions
|
|
@ -311,7 +311,7 @@ export const ModeSelector = ({
|
|||
size="icon"
|
||||
className={cn(
|
||||
"h-6 w-6 p-0.5",
|
||||
isExporting === mode.slug ||
|
||||
isExporting !== mode.slug &&
|
||||
"opacity-0 group-hover:opacity-100",
|
||||
"transition-opacity",
|
||||
)}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue