Skip to content

Commit

Permalink
remove redundant transition & class 'collapsed-sidebar' component
Browse files Browse the repository at this point in the history
  • Loading branch information
axif0 committed Aug 14, 2024
1 parent 867b12f commit d586ecd
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions ui/apps/dashboard/src/layout/sidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,7 @@ const Sidebar: FC<SidebarProps> = ({ collapsed }) => {
}, [matches]);
return (
<div
className={cn('w-full', 'h-full', 'overflow-y-auto', {
'collapsed-sidebar': collapsed,
})}
style={{ transition: 'width 0.3s' }}
className={cn('w-full', 'h-full', 'overflow-y-auto')}
>
<Menu
onClick={onClick}
Expand Down

0 comments on commit d586ecd

Please sign in to comment.