Skip to content

Commit

Permalink
Removed InvertibleThemeProvider from BasePage
Browse files Browse the repository at this point in the history
  • Loading branch information
arietrouw committed Nov 20, 2024
1 parent bc44362 commit 98d1e91
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions packages/base-page/src/components/BasePage/BasePage.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
import { KeyboardArrowUp as KeyboardArrowUpIcon } from '@mui/icons-material'
import {
Container, Fab, ScopedCssBaseline, Typography, useTheme,
Container, Fab, Typography, useTheme,
} from '@mui/material'
import { CookieConsent } from '@xylabs/react-cookie-consent'
import { FlexCol, FlexRow } from '@xylabs/react-flexbox'
import { InvertibleThemeProvider } from '@xylabs/react-invertible-theme'
import { ScrollToTop, ScrollToTopButton } from '@xylabs/react-scroll-to-top'
import React from 'react'
import { Helmet } from 'react-helmet'
Expand Down Expand Up @@ -77,11 +76,7 @@ const BasePage: React.FC<BasePageProps> = ({
: children}
{hideFooter ? null : <footer>{appFooter}</footer>}
{cookieConsent ?? (
<ScopedCssBaseline>
<InvertibleThemeProvider invert>
<CookieConsent borderRadius={0} />
</InvertibleThemeProvider>
</ScopedCssBaseline>
<CookieConsent borderRadius={0} />
)}
{scrollToTopButton
? (
Expand Down

0 comments on commit 98d1e91

Please sign in to comment.