Skip to content

Commit

Permalink
Remove CssBaseline from custom theme
Browse files Browse the repository at this point in the history
Signed-off-by: Andre Wanlin <[email protected]>
  • Loading branch information
awanlin committed Oct 9, 2024
1 parent 0bfcb76 commit 2fc88c6
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions packages/app/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ import { createApp } from '@backstage/app-defaults';
import { entityPage } from './components/catalog/EntityPage';
import { orgPlugin } from '@backstage/plugin-org';
import { searchPage } from './components/search/SearchPage';
import CssBaseline from '@mui/material/CssBaseline';
import { HomepageCompositionRoot, VisitListener } from '@backstage/plugin-home';
import { HomePage } from './components/home/HomePage';
import { CustomizableHomePage } from './components/home/CustomizableHomePage';
Expand Down Expand Up @@ -102,10 +101,7 @@ const app = createApp({
title: 'Aperture',
variant: 'light',
Provider: ({ children }) => (
<UnifiedThemeProvider theme={apertureTheme} noCssBaseline>
<CssBaseline />
{children}
</UnifiedThemeProvider>
<UnifiedThemeProvider theme={apertureTheme} children={children} />
),
},
],
Expand Down

0 comments on commit 2fc88c6

Please sign in to comment.