Skip to content

Commit d4c3fc3

Browse files
fix tests
1 parent cb5095b commit d4c3fc3

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

packages/avatars/src/styled/StyledStatusIndicatorBase.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -88,11 +88,10 @@ const colorStyles = ({ theme, $type }: IStyledStatusIndicatorProps) => {
8888
`;
8989
};
9090

91-
export const StyledStatusIndicatorBase = styled.div.attrs<IStyledStatusIndicatorProps>(props => ({
91+
export const StyledStatusIndicatorBase = styled.div.attrs<IStyledStatusIndicatorProps>({
9292
'data-garden-id': COMPONENT_ID,
93-
'data-garden-version': PACKAGE_VERSION,
94-
$size: props.$size ?? 'small'
95-
}))<IStyledStatusIndicatorProps>`
93+
'data-garden-version': PACKAGE_VERSION
94+
})<IStyledStatusIndicatorProps>`
9695
transition: inherit;
9796
9897
${sizeStyles}

packages/dropdowns/src/elements/menu/MenuList.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ export const MenuList = forwardRef<HTMLUListElement, IMenuListProps>(
4545
placement: _placement = PLACEMENT_DEFAULT,
4646
triggerRef,
4747
zIndex = 1000,
48+
children,
4849
...props
4950
},
5051
ref

0 commit comments

Comments
 (0)