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:
hannesrudolph 2025-07-28 18:15:53 -06:00
parent 02dc1afb28
commit 63fcac7aeb

View file

@ -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",
)}