Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
firsttris committed Dec 28, 2023
1 parent 785c745 commit 0a138f0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/app/ChannelsForType.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ import { Icon } from '@iconify/react';


interface ExpandMoreProps {
expanded: boolean;
_expanded: boolean;
}

const ExpandMore = styled(Icon)<ExpandMoreProps>(({ expanded }) => ({
transform: expanded ? 'rotate(180deg)' : 'rotate(0deg)',
const ExpandMore = styled(Icon)<ExpandMoreProps>(({ _expanded }) => ({
transform: _expanded ? 'rotate(180deg)' : 'rotate(0deg)',
marginLeft: 'auto',
transition: 'transform 150ms cubic-bezier(0.4, 0, 0.2, 1) 0ms',
padding: '5px',
Expand Down Expand Up @@ -100,7 +100,7 @@ export const ChannelsForType: React.FC<ChannelTypeProps> = ({
>
{t(channelType)}
</Typography>
<ExpandMore icon="uiw:down" expanded={expanded}/>
<ExpandMore icon="uiw:down" _expanded={expanded}/>
</ListItemButton>
</ListItem>
{hasTransitionExited ? <Divider /> : null}
Expand Down

0 comments on commit 0a138f0

Please sign in to comment.