From fb48214d6257a87d56ddf359ee0d9950e12bfd5c Mon Sep 17 00:00:00 2001 From: Marija Najdova Date: Thu, 28 Jan 2021 09:30:11 +0100 Subject: [PATCH] Update packages/material-ui/src/TabScrollButton/TabScrollButton.js --- packages/material-ui/src/TabScrollButton/TabScrollButton.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/material-ui/src/TabScrollButton/TabScrollButton.js b/packages/material-ui/src/TabScrollButton/TabScrollButton.js index 9169898d9735a4..87310e637fb873 100644 --- a/packages/material-ui/src/TabScrollButton/TabScrollButton.js +++ b/packages/material-ui/src/TabScrollButton/TabScrollButton.js @@ -16,7 +16,7 @@ const overridesResolver = (props, styles) => { const { styleProps } = props; return deepmerge(styles.root || {}, { - ...styles[styleProps.orientation], + ...(styleProps.orientation && styles[styleProps.orientation]), }); };