Skip to content

Commit

Permalink
Fix renderer theme from overriding parent app
Browse files Browse the repository at this point in the history
  • Loading branch information
fongsean committed Sep 23, 2024
1 parent 3fa35cf commit 3aec731
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/smart-forms-renderer/src/theme/Theme.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ import {
StyledEngineProvider,
ThemeProvider as MUIThemeProvider
} from '@mui/material/styles';
import CssBaseline from '@mui/material/CssBaseline';
import palette from './palette';
import typography from './typography';
import CustomGlobalStyles from './customGlobalStyles';
Expand Down Expand Up @@ -102,7 +101,6 @@ export function RendererThemeProvider({ children }: { children: ReactNode }) {
return (
<StyledEngineProvider injectFirst>
<MUIThemeProvider theme={theme}>
<CssBaseline />
<CustomGlobalStyles />
{children}
</MUIThemeProvider>
Expand Down

0 comments on commit 3aec731

Please sign in to comment.