Skip to content

Commit 3bb7a20

Browse files
committed
remove explicitly added width and height params to styled icon component, as it is not needed
1 parent 9a01af4 commit 3bb7a20

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

redisinsight/ui/src/components/base/layout/sidebar/SideBarItemIcon.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ import React from 'react'
22

33
import { RiSideBarItemIconProps, StyledIcon } from './sidebar-item-icon.styles'
44

5-
export const SideBarItemIcon = ({ width, height, ...props }: RiSideBarItemIconProps) => (
6-
<StyledIcon {...props} width={width} height={height} />
5+
export const SideBarItemIcon = (props: RiSideBarItemIconProps) => (
6+
<StyledIcon {...props} />
77
)

0 commit comments

Comments
 (0)