From fb8ae5a5eba6771bf531dad8de99425fe8e44e17 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Velarde?= Date: Fri, 21 Oct 2022 17:15:05 +0200 Subject: [PATCH] Remove adaptV4Theme from Storybook preview --- packages/react-ui/storybook/.storybook/preview.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/packages/react-ui/storybook/.storybook/preview.js b/packages/react-ui/storybook/.storybook/preview.js index 820ff7d24..45506ab64 100644 --- a/packages/react-ui/storybook/.storybook/preview.js +++ b/packages/react-ui/storybook/.storybook/preview.js @@ -4,12 +4,11 @@ import { createTheme, responsiveFontSizes, ThemeProvider, - StyledEngineProvider, - adaptV4Theme + StyledEngineProvider } from '@mui/material'; import { cartoThemeOptions } from '../../src/theme/carto-theme'; -let theme = createTheme(adaptV4Theme(cartoThemeOptions)); +let theme = createTheme(cartoThemeOptions); theme = responsiveFontSizes(theme, { breakpoints: ['sm'], disableAlign: false,