From bf0ad482225e3be4c20fe9432ff3a38602e0b008 Mon Sep 17 00:00:00 2001 From: Mykhailo Kravchenko Date: Wed, 29 Nov 2023 15:57:07 +0100 Subject: [PATCH] fix style combining --- src/components/MenuItem.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/MenuItem.js b/src/components/MenuItem.js index e88be246336c..ed6ea1274dfc 100644 --- a/src/components/MenuItem.js +++ b/src/components/MenuItem.js @@ -88,7 +88,7 @@ const defaultProps = { const MenuItem = React.forwardRef((props, ref) => { const theme = useTheme(); const styles = useThemeStyles(); - const style = props.style || styles.popoverMenuItem; + const style = StyleUtils.combineStyles(props.style, styles.popoverMenuItem); const {isSmallScreenWidth} = useWindowDimensions(); const [html, setHtml] = React.useState('');