diff --git a/src/app/ChannelsForType.tsx b/src/app/ChannelsForType.tsx index f1dd30c..d873527 100644 --- a/src/app/ChannelsForType.tsx +++ b/src/app/ChannelsForType.tsx @@ -19,11 +19,11 @@ import { Icon } from '@iconify/react'; interface ExpandMoreProps { - expanded: boolean; + _expanded: boolean; } -const ExpandMore = styled(Icon)(({ expanded }) => ({ - transform: expanded ? 'rotate(180deg)' : 'rotate(0deg)', +const ExpandMore = styled(Icon)(({ _expanded }) => ({ + transform: _expanded ? 'rotate(180deg)' : 'rotate(0deg)', marginLeft: 'auto', transition: 'transform 150ms cubic-bezier(0.4, 0, 0.2, 1) 0ms', padding: '5px', @@ -100,7 +100,7 @@ export const ChannelsForType: React.FC = ({ > {t(channelType)} - + {hasTransitionExited ? : null}